Permission when run docker on Centos7

docker: Error response from daemon: 
  OCI runtime create failed: container_linux.go:349: 
    starting container process caused “process_linux.go:449: 
      container init caused \“write /proc/self/attr/keycreate: 
        permission denied\“”: unknown.
ERRO[0000] error waiting for container: context canceled

I got this error when set up Docker on Centos7. My partner find out a solution here

My solution is running this command:

sudo setenforce Permissive

Upvotes: 4

Views: 682

Answers (0)

Related Questions