docker 在centos中运行的一个问题

查看:154
本文介绍了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)
...

解决方案

所以说题主应该解决了。

是selinux的问题。

这篇关于docker 在centos中运行的一个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆