使用docker exec 进入容器报错“OCI runtime exec failed”

报错信息:

OCI runtime exec failed: exec failed: container_linux.go:296: starting 
container process caused "process_linux.go:78: starting setns process 
caused \"fork/exec /proc/self/exe: no such file or directory\"": unknown

可能原因:

注意:适用于报错信息中包含“container_linux.go:296”的情况;
可能是docker 守护进程出了问题,尝试重启docker服务:

systemct restart docker

你可能感兴趣的:(docker,docker,linux)