1.docker启动成功无其他报错
2.docker ps -a 查看容器id
3.docker logs id 查看具体报错
standard_init_linux.go :178: exec user process caused "permission denied"
解决方法:
关闭selinux
1、临时关闭selinux: setenforce 0
2、修改配置文件需要重启机器:
修改/etc/selinux/config 文件
将SELINUX=enforcing改为SELINUX=disabled
---------------------
作者:坚持每一填
来源:CSDN
原文:https://blog.csdn.net/kai172142xiang/article/details/81436485
版权声明:本文为博主原创文章,转载请附上博文链接!