Using default tag: latest Error response from daemon: Get https://[IP地址]:5000/v2/: http: server

Problem: Another device cannot pull the image from the private warehouse

error code

[root@server16 ~]# docker pull 20.0.0.104:5000/httpd
Using default tag: latest
Error response from daemon: Get https://20.0.0.104:5000/v2/: http: server gave HTTP response to HTTPS client

Insert picture description here
Solution

1. Make sure the network is open

View iptables strategy

[root@docker ~]# iptables -L

2. Dependent packages may be missing

[root@server16 ~]#  yum install -y yum-utils device-mapper-persistent-data lvm2
[root@server16 ~]#  systemctl restart docker

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_50345511/article/details/114575774