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