Cannot start docker container In docker CE on oracle linux

前端 未结 5 858
天命终不由人
天命终不由人 2021-01-01 23:12

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

docker run hello-world

5条回答
  •  执念已碎
    2021-01-01 23:52

    OP, I just ran into this issue. I am not sure what your OL support level is. But to stay supported, you really don't want to use the container-selinux from another distro. What I found as a work around is to set the following:

    sudo semanage permissive -a container_runtime_t

    After setting that to permissive running containers worked as expected.

提交回复
热议问题