docker 오류 검사: 용기에 들어갈 수 없습니다.

2301 단어
docker 오류 검사: 용기에 들어갈 수 없습니다.
#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에 들어가면 불법으로 들어갑니다.
  • 오보 원인은 새 버전 1.13.1-84 때문에 1.13.1-75로 낮추면 정상적으로 사용할 수 있음
  • 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
    

    버전 다운 후:
    [root@python2_06:47:22 /root]#docker exec -it 3c1d bash
    root@3c1d863574d8:/# 

    전재 대상:https://www.cnblogs.com/2woods/p/10100243.html

    좋은 웹페이지 즐겨찾기