且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

docker pull 报错:Get https://registry:5000/v1/_ping: http: server gave HTTP response to HTTPS client

更新时间:2022-03-15 06:20:23

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_34173549/article/details/80415283

    运行命令:

        echo '{ "insecure-registries":["xxx.xxx.xxx.xxx:5000"] }' > /etc/docker/daemon.json

        systemctl restart docker

上面xxx为ip地址 5000为端口 如果你docker registry启动端口改了就把5000也改了