修改docker里面文件重启服务,或者重启某镜像文件,导致出现
docker exec -it 进入容器提示如下错误
1 | rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "process_linux.go:75: starting setns process caused \"fork/exec /proc/self/exe: no such file or directory\"" |
使用nsenter方式进入容器
1 | # 获取进程pid |
或者重启docker