This problem is encountered when building your own docker warehouse on the intranet because docker does not support HTTP registry by default,
vim /etc/docker/daemon.JSON {“secure registers”: [“hub.Zuobiao.Com”]}
Restart docker
systemctl restart docker. service
Harbor pull code, and you need to log in first:
docker login http://192.168.1.191/ -u username -p password
Similar Posts:
- An error is reported when logging into harbor warehouse with docker login of other hosts
- Harbor 443 connect connection refused [How to Solve]
- [Solved] http: server gave HTTP response to HTTPS client
- Docker login harbor 403 Forbidden [How to Solve]
- Docker ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [How to Solve]
- An error is reported when the docker command is executed in Jenkins
- [Solved] Error in docker pull down image“ https://registry-1.docker.io/v2/ : Net / http: TLS handle timeout “how to handle?
- [Solved] Docker Starup Error: Failed to start Docker Application Container Engine.
- [How to]docker http: server gave HTTP response to HTTPS client
- When Docker installs an Mirror: failed to get default registry endpoint from daemon