报错
[root@VM-2-10-12 ~]# docker exec -it chunxu.xu_172.16.22.252 bash rpc error: code = 13 desc = invalid header field value "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\\\"\"\n"
解决方法:
nsenter -m -t 3639 bash #3639是libcontainerd的pid mount /dev/mapper/docker-253\:3-3221225568-4723e8178992b32b7284aa48c1c62f4011a6b785aca0c54e18d7ce5cc23b22dc -o rw,relatime,nouuid,attr2,inode64,sunit=512,swidth=1024,noquota -t xfs /data1/docker/devicemapper/mnt/4723e8178992b32b7284aa48c1c62f4011a6b785aca0c54e18d7ce5cc23b22dc #4723e8178992b32b7284aa48c1c62f4011a6b785aca0c54e18d7ce5cc23b22dc是通过docker inspect找到的DeviceName
转载于:https://blog.51cto.com/peitianwang/1972071