1.执行命令
docker pull registry
1.Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for >connection (Client.Timeout exceeded while awaiting headers)
2.received unexpected HTTP status: 500 Internal Server Error(未解决)
解决方案:
执行一下命令
vim /etc/docker/daemon.json
写入
https://registry.docker-cn.com { "registry-mirrors":["https://docker.mirrors.ustc.edu.cn"] }
重启docker
systemctl daemon-reload systemctl restart docker
"registry-mirrors":["https://docker.mirrors.ustc.edu.cn"], "insecure-registries":["192.168.124.132:5000"] docker tag busybox 192.168.124.132:5000/busybox:latest docker push 192.168.124.132:5000/busybox:latest curl http://192.168.124.132:5000/v2/_catalog
docker图像化界面(admin/123456789)
官网地址:https://www.portainer.io/installation/
本地访问:
http://192.168.124.131:9000
http://192.168.124.132:9000
http://192.168.124.132:9000
http://192.168.124.132:9000
添加镜像源
sudo apt-get install -y apt-transport-https