docker登录harbor报错: no such host/connect: connection refused
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker登录harbor报错: no such host/connect: connection refused相关的知识,希望对你有一定的参考价值。
参考技术A Error response from daemon: Get https://harbor.paicidata.com/v2/ : dial tcp: lookup harbor.paicidata.com on 10.49.144.86:53: no such host汗,这个是hosts配置问题。
Error response from daemon: Get https://harbor.paicidata.com/v2/ : dial tcp 100.65.16.195:443: connect: connection refused
这个是访问https被拒绝,需要去掉安全认证,在docker.service的ExecStart中追加--insecure-registry
之后重启docker服务:
docker.service存在位置可能是:
以上是关于docker登录harbor报错: no such host/connect: connection refused的主要内容,如果未能解决你的问题,请参考以下文章
cadvisor 运行报错/sys/fs/cgroup/cpuacct,cpu: no such file or directory
Azure Devops: COPY failed: stat /var/lib/docker/tmp/docker-builder268095359/xxxxxxx.csproj no such
Jenkins打包报错:(No such file or directory) and 'parent.relativePath' points at no local POM