[Solved] Docker startup container error: permission denied””: unknown.

Docker installation is completed, an error is reported when starting the container, and the startup fails:


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.


“Write/proc/self/attr/keycreate: permission denied” indicates that the file does not have write permission and access is denied


Change the SELinux attribute in the config file under/etc/SELinux to the disabled

vi /etc/selinux/config

You can see that the attribute inside is: enforcementmandatory

Change the SELinux property to disabled

Restart docker and start the container

Read More: