页面树结构
转至元数据结尾
转至元数据起始

(本文档仅供参考)

问题:

        docker build打包镜像时体失败,提示报错信息 “OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \"write /proc/self/attr/keycreate: permission denied\"": unknown”。

解决方案:

       一般是因为没关闭selinux导致的Linux输入命令 setenforce 0【临时关闭,重启服务器失效】,或输入sed -i 's/=enforcing/=disabled/g' /etc/selinux/config 【永久关闭】 ,再重新docker build打包镜像即可。
       参考地址: https://www.cnblogs.com/nhdlb/p/16554683.html

注:SELinux(Security-Enhanced Linux) 是美国国家安全局(NSA)对于强制访问控制的实现,是 Linux历史上最杰出的新安全子系统,SELinux一般默认状态enforing致使很多服务端口默认是关闭的。



  • 无标签