首页 > 其他分享 >登录Harbor仓库报错:Error response from daemon: Get

登录Harbor仓库报错:Error response from daemon: Get

时间:2023-01-25 23:45:38浏览次数:48  
标签:daemon service 20.20 Get 报错 docker

登录Harbor仓库报错:

docker login -u admin -p Harbor12345 20.20.10.162

WARNING! Using --password via the CLI is insecure. Use --password-stdin.

Error response from daemon: Get https://20.20.10.162/v2/: dial tcp 20.20.10.162:443: connect: connection refused

image

解决方法:

  1. 查找 docker.service 的位置   find / -name docker.service -type f

    [root@worker chinaskills_cloud_paas]# find / -name docker.service -type f  
    /usr/lib/systemd/system/docker.service
    
  2. 修改配置文件, 增加  --insecure-registry=20.20.10.163

image

  1. 重启服务

    systemctl daemon-reload && systemctl restart docker
    

标签:daemon,service,20.20,Get,报错,docker
From: https://www.cnblogs.com/yuwen01/p/17067450.html

相关文章