[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.

**
reason:

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

Solution:

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

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: