【问题标题】:docker: Error response from daemon: OCI runtime create faileddocker:来自守护进程的错误响应:OCI 运行时创建失败
【发布时间】:2020-01-11 07:02:12
【问题描述】:

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

【问题讨论】:

标签: docker fedora selinux


【解决方案1】:
$ /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

【讨论】:

    猜你喜欢
    • 2019-04-30
    • 1970-01-01
    • 2018-05-28
    • 2020-04-19
    • 1970-01-01
    • 2016-12-20
    • 2021-02-20
    • 2021-10-08
    • 2023-01-27
    相关资源
    最近更新 更多