Warm tip: This article is reproduced from stackoverflow.com, please click
docker

Cannot start docker container In docker CE on oracle linux

发布于 2020-03-27 10:18:30

Recently I installed Docker CE on my Oracle Linux.
Unfortunately, when I want to start my first container with:

docker run hello-world

I get this error message:

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. ERRO[0000] error waiting for container: context canceled

Questioner
Mohammad Ravanbakhsh
Viewed
274
streetster 2019-08-14 20:02

Per the bug that david-maze linked to, updating container-selinux should fix this for you:

sudo yum install http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-1.el7_6.noarch.rpm