Heim  >  Fragen und Antworten  >  Hauptteil

docker 在centos中运行的一个问题

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)
...

高洛峰高洛峰2704 Tage vor1425

Antworte allen(2)Ich werde antworten

  • 仅有的幸福

    仅有的幸福2017-04-27 09:05:49

    所以说题主应该解决了。

    是selinux的问题。

    Antwort
    0
  • 给我你的怀抱

    给我你的怀抱2017-04-27 09:05:49

    "permission denied" 权限不够? 你试下: sudo docker run hello world

    Antwort
    0
  • StornierenAntwort