docker 錯誤排查:沒法進入容器.python
#docker exec -it 3c1d bash rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "process_linux.go:110: decoding init error from pipe caused \"read parent: connection reset by peer\""
進自建的centos7 base是能夠進入的.但進rancher分佈的mysql就不法進去.mysql
yum downgrade docker docker-client docker-common Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.nwsuaf.edu.cn * epel: mirror.lzu.edu.cn * extras: mirror.vodien.com * updates: mirrors.nwsuaf.edu.cn (1/2): updates/7/x86_64/primary_db | 1.3 MB 00:00:00 (2/2): extras/7/x86_64/primary_db | 156 kB 00:00:00 epel/x86_64/primary | 3.6 MB 00:00:00 epel 12738/12738 Resolving Dependencies --> Running transaction check ---> Package docker.x86_64 2:1.13.1-75.git8633870.el7.centos will be a downgrade ---> Package docker.x86_64 2:1.13.1-84.git07f3374.el7.centos will be erased ---> Package docker-client.x86_64 2:1.13.1-75.git8633870.el7.centos will be a downgrade ---> Package docker-client.x86_64 2:1.13.1-84.git07f3374.el7.centos will be erased ---> Package docker-common.x86_64 2:1.13.1-75.git8633870.el7.centos will be a downgrade ---> Package docker-common.x86_64 2:1.13.1-84.git07f3374.el7.centos will be erased --> Finished Dependency Resolution Dependencies Resolved
降版本後:linux
[root@python2_06:47:22 /root]#docker exec -it 3c1d bash root@3c1d863574d8:/#