k8s报错:Error response from daemon: pull access denied for 20.0.0.53/project/tomcat, repository does not exist or may require 'docker login': denied

报错现象

[root@localhost ~]# docker pull 20.0.0.53/project/tomcat
Using default tag: latest
Error response from daemon: pull access denied for 20.0.0.53/project/tomcat, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

解决思路和方法

问题点:缺少仓库的凭据
解决方法:
需要登录到harbor中,获取.docker这个凭证,才能下载

docker login 20.0.0.53
ls -a   '查看.docker'
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐