ERROR: network harbor_harbor has active endpoints

6924 단어 docker

기사 목록

  • 오류
  • 해결

  • 잘못


    ERROR: network harbor_harbor has active endpoints
    신문을 잘못 본 것은 네트워크가 끊기지 않은 것이다
    아래와 같이 Harbor 오류를 중지합니다
    gws@gws-TP450:/opt/harbor/harbor$ sudo docker-compose down
    [sudo] password for gws: 
    Stopping nginx              ... done
    Stopping harbor-jobservice  ... done
    Stopping harbor-core        ... done
    Stopping harbor-adminserver ... done
    Stopping registryctl        ... done
    Stopping redis              ... done
    Stopping registry           ... done
    Stopping harbor-log         ... done
    Removing nginx              ... done
    Removing harbor-portal      ... done
    Removing harbor-jobservice  ... done
    Removing harbor-adminserver ... done
    Removing harbor-db          ... done
    Removing registryctl        ... done
    Removing redis              ... done
    Removing registry           ... done
    Removing harbor-log         ... done
    Removing network harbor_harbor
    ERROR: network harbor_harbor has active endpoints
    
    

    해결하다


    github issues docker network inspect {network} docker network disconnect -f {network} {endpoint-name}
    gws@gws-TP450:/opt/harbor/harbor$ docker network inspect harbor_harbor
    [
        {
            "Name": "harbor_harbor",
            "Id": "464d40157858688a0e4543bba2ea29952491f4693eab144072278e2fe4a5e270",
            "Created": "2019-04-19T11:05:01.951836694+08:00",
            "Scope": "local",
            "Driver": "bridge",
            "EnableIPv6": false,
            "IPAM": {
                "Driver": "default",
                "Options": null,
                "Config": [
                    {
                        "Subnet": "172.18.0.0/16",
                        "Gateway": "172.18.0.1"
                    }
                ]
            },
            "Internal": false,
            "Attachable": false,
            "Containers": {
                "d858f36b5ff1e879b919403cdb7f852b93b7b36c8186b20275514c306db18f18": {
                    "Name": "harbor-core",
                    "EndpointID": "3665ba49f53e552af6b751b643c8a816914407b8955e7fe40342d956c217d926",
                    "MacAddress": "02:42:ac:12:00:03",
                    "IPv4Address": "172.18.0.3/16",
                    "IPv6Address": ""
                }
            },
            "Options": {},
            "Labels": {}
        }
    ]
    
    gws@gws-TP450:/opt/harbor/harbor$ docker network disconnect -f harbor_harbor harbor-core 
    gws@gws-TP450:/opt/harbor/harbor$ sudo docker-compose down
    Removing network harbor_harbor
    
    

    좋은 웹페이지 즐겨찾기