docker 运行实例报错

xiaoxiao2021-02-28  102

在centos上运行实例的时候报错:

standard_init_linux.go:178: exec user process caused "permission denied" [recovered]

解决方法: 关闭selinux

1、临时关闭selinux: setenforce 0 2、修改配置文件需要重启机器: 修改/etc/selinux/config 文件 将SELINUX=enforcing改为SELINUX=disabled 重启机器即可

转载请注明原文地址: https://www.6miu.com/read-20304.html

最新回复(0)