centos上docker中运行hello-world是出现如下问题,急求啊!
panic: standard_init_linux.go:178: exec user process caused "permission denied" [recovered]
panic: standard_init_linux.go:178: exec user process caused "permission denied"
goroutine 1 [running, locked to thread]:
panic(0x6f3000, 0xc4201385b0)
/usr/lib/golang/src/runtime/panic.go:500 +0x1a1
github.com/urfave/cli.HandleAction.func1(0xc420083748)
/builddir/build/BUILD/docker-96d83a5ff6ec0eb9bb7b45192c3048fd3aef5e21/runc-81b254244390bc636b20c87c34a3d9e1a8645069/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x247
panic(0x6f3000, 0xc4201385b0)
...
So the question should be solved.
It’s a selinux problem.
"permission denied"
权限不够? 你试下:sudo docker run hello world