Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
docker:来自守护程序的错误响应:OCI运行时创建失败_Docker_Fedora_Selinux - Fatal编程技术网

docker:来自守护程序的错误响应:OCI运行时创建失败

docker:来自守护程序的错误响应:OCI运行时创建失败,docker,fedora,selinux,Docker,Fedora,Selinux,docker:来自守护程序的错误响应:OCI运行时创建失败:容器\u linux.go:345:启动容器进程导致“进程\u linux.go:430:容器初始化导致\”写入/proc/self/attr/keycreate:权限被拒绝\\“”:未知。 等待容器时出错[0000]:在fedora 28中取消了上下文 $ /usr/sbin/getenforce enforcing 编辑/etc/selinux/config 重新启动服务器 请尝试添加更多上下文或复制步骤,并解释您的环境。

docker:来自守护程序的错误响应:OCI运行时创建失败:容器\u linux.go:345:启动容器进程导致“进程\u linux.go:430:容器初始化导致\”写入/proc/self/attr/keycreate:权限被拒绝\\“”:未知。 等待容器时出错[0000]:在fedora 28中取消了上下文

$ /usr/sbin/getenforce
enforcing
  • 编辑/etc/selinux/config
  • 重新启动服务器

请尝试添加更多上下文或复制步骤,并解释您的环境。回顾
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted - Targeted processes are protected,
#       mls - Multi Level Security protection.
SELINUXTYPE=targeted
$ /usr/sbin/getenforce
Disabled