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
Go to performance and then CPU to verify whether Virtualization is enabled or not. If virtualization is disabled Docker Desktop cannot start. If the virtualization is disabled in your machine then you need to enable it from BIOS Settings.
Unlike CentOS, you can not install Docker CE on RHEL 7/8 using the official installation script because it isn't allowed. You'll get the following error when you try that: RHEL is only allowed to use Docker EE.
Oracle support for Docker is limited to customers with either Basic or Premier Oracle Linux Support Subscriptions. Oracle only provides Docker server binary packages for Oracle Linux 6 and Oracle Linux 7 (x86_64).
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With