You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior and actual behavior:
When I try to use docker to login to my Harbor registy (reg.lccdomain.com), the conncetion is refused. The output is:
Error response from daemon: Get http://reg.lccdomain.com/v2/: dial tcp 192.168.2.144:80: connect: connection refused
Tips: 192.168.2.144 is the IP address of one of the network interface of the machine where Harbor is installed.
The content of /etc/docker/daemon.json is as follows:
{
"registry-mirrors": ["https://b9pmyelo.mirror.aliyuncs.com"],
"insecure-registries":["reg.lccdomain.com"]
}
The related content (without the commented content) of harbor.yml is as follows:
hostname: reg.lccdomain.com
http:
port: 80
Steps to reproduce the problem:
systemctl restart docker
docker compose down -v
./install.sh (I didn't use "docker compose up -d" to restart harbor)
docker login reg.lccdomain.com
enter username and password
Versions:
Please specify the versions of following systems.
Expected behavior and actual behavior:
When I try to use docker to login to my Harbor registy (reg.lccdomain.com), the conncetion is refused. The output is:
Error response from daemon: Get http://reg.lccdomain.com/v2/: dial tcp 192.168.2.144:80: connect: connection refused
Tips: 192.168.2.144 is the IP address of one of the network interface of the machine where Harbor is installed.
The content of /etc/docker/daemon.json is as follows:
{
"registry-mirrors": ["https://b9pmyelo.mirror.aliyuncs.com"],
"insecure-registries":["reg.lccdomain.com"]
}
The related content (without the commented content) of harbor.yml is as follows:
hostname: reg.lccdomain.com
http:
port: 80
Steps to reproduce the problem:
Versions:
Please specify the versions of following systems.
harbor version:
Loaded image: goharbor/redis-photon:v2.3.4
Loaded image: goharbor/nginx-photon:v2.3.4
Loaded image: goharbor/harbor-core:v2.3.4
Loaded image: goharbor/harbor-log:v2.3.4
Loaded image: goharbor/harbor-db:v2.3.4
Loaded image: goharbor/harbor-exporter:v2.3.4
Loaded image: goharbor/registry-photon:v2.3.4
Loaded image: goharbor/prepare:v2.3.4
Loaded image: goharbor/harbor-portal:v2.3.4
Loaded image: goharbor/harbor-jobservice:v2.3.4
Loaded image: goharbor/harbor-registryctl:v2.3.4
docker engine version: [y.y.y]
20.10.7
docker-compose version: [z.z.z]
1.25.0
Additional context:
harbor.yml
and files in the same directory, including subdirectory./var/log/harbor/
.The text was updated successfully, but these errors were encountered: