好小一只 2019-06-12 08:56 采纳率: 0%
浏览 1594
已采纳

docker运行第一个hello-world镜像报错

查询本机的版本:

[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)

[root@localhost ~]# docker --version
Docker version 19.03.0-rc2, build f97efcc

[root@localhost ~]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
hello-world         latest              fce289e99eb9        5 months ago        1.84kB

[root@localhost ~]# docker run hello-world
docker: Error response from daemon: 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.

运行hello-world镜像报错。有遇到这个问题的吗。
灰常感谢。

  • 写回答

1条回答 默认 最新

  • gammey 2019-06-12 09:06
    关注

    setenforce 0

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?