ERROR: error while removing network: network harbor_harbor id 1d6fdbb7c6cb4d6df719f000d8234ebd30e2b78860f1b0da8451a9ba2328a6b6 has active endpoints
安装harbor时,执行./install.sh ,报错
ERROR: error while removing network: network harbor_harbor id 1d6fdbb7c6cb4d6df719f000d8234ebd30e2b78860f1b0da8451a9ba2328a6b6 has active endpoints
出现问题的原因是docker网络出问题了,解决办法:
[root@devops-jks-144 harbor]# docker network inspect harbor_harbor [ { "Name": "harbor_harbor", "Id": "1d6fdbb7c6cb4d6df719f000d8234ebd30e2b78860f1b0da8451a9ba2328a6b6", "Created": "2021-05-07T15:31:02.953720362+08:00", "Scope": "local", "Driver": "bridge", "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": [ { "Subnet": "172.19.0.0/16", "Gateway": "172.19.0.1" } ] }, "Internal": false, "Attachable": false, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Containers": { "b41e329286999953527420eb1a824a63386074686819212f26bdbd2129ab884a": { "Name": "harbor-adminserver", "EndpointID": "83b1636750bacf52c514d99d0948bef5295e6fe028364577cef84e81b1eaba7b", "MacAddress": "02:42:ac:13:00:05", "IPv4Address": "172.19.0.5/16", "IPv6Address": "" } }, "Options": {}, "Labels": {} } ] [root@devops-jks-144 harbor]# docker network disconnect -f harbor_harbor harbor-adminserver [root@devops-jks-144 harbor]#