[root@localhost docker]# docker pull 47.101.57.69:8082/ccs/televr:v1
Trying to pull repository xx.xx.xx.69:8082/ccs/televr ...
Get https://xx.xx.xx.69:8082/v1/_ping: http: server gave HTTP response to HTTPS client
从另一台linux机器去拉取私有仓库镜像报错,在当前100的机器上运行
解决方法: 运行命令:
echo '{ "insecure-registries":["xxx.xxx.xxx.69:8082"] }' > /etc/docker/daemon.json
systemctl restart docker
然后再次拉取成功
[root@localhost docker]# docker pull 47.101.57.69:8082/ccs/televr:v1
Trying to pull repository 47.101.57.69:8082/ccs/televr ...
Pulling repository 47.101.57.69:8082/ccs/televr
Error: image ccs/televr:v1 not found
[root@localhost docker]# docker pull 47.101.57.69:8082/ccs/telvevr:v1
Trying to pull repository 47.101.57.69:8082/ccs/telvevr ...
v1: Pulling from 47.101.57.69:8082/ccs/telvevr
7448db3b31eb: Downloading [=> ] 1.579 MB/52.47 MB
然后启动docker run -p 8091:8080 47.101.57.69:8082/ccs/telvevr:v1