xianlubird / mydocker

<<自己动手写docker>> 源码

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fork/exec /bin/sh: operation not permitted

724686158 opened this issue · comments

commented

2.1.2 UTS Namespace
in elementary os 0.41(ubuntu 16.04, Linux version 4.8.0-58-generic)

solitarius@Lain:~/GoglandProjects/DockerTry$ go run UTS_NAMESPACE.go
2017/07/11 10:10:47 fork/exec /bin/sh: operation not permitted

operation not permitted. Root 权限开了没

应该是solitarius这个用户没有fork/exec的权限,建议切换成root运行。我先关闭这个issue,后续有疑问可以随时再反馈。

commented