我正在尝试使用docker在Linux计算机上构建代理。一切工作正常,我能够创建代理。但是突然间,它显示为脱机。当我尝试重新创建代理时,它抛出以下错误:-
ERROR: for build-agent_dl-build-agent_1 Cannot start service dl-build-agent: 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
ERROR: for dl-build-agent Cannot start service dl-build-agent: 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
ERROR: Encountered errors while bringing up the project.
即使我试图运行一个简单的docker命令'docker run hello-world',我也遇到了错误,
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 cancelled
有什么建议吗?
答案 0 :(得分:0)
以下命令解决了我的问题, sudo semanage允许-a container_runtime_t
请点击以下链接以获取更多详细信息,
Cannot start docker container In docker CE on oracle linux
感谢@leopal的建议。