docker拉取镜像时报错:Error response from daemon: repository does not exist or may require ‘docker login’

错误信息:

Error response from daemon: pull access denied for centos7, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied

在这里插入图片描述

在拉取私有镜像或者上传镜像前
需要docker login输入您的凭证信息

解决办法:

1.首先登录阿里云,找到“容器镜像服务
docker拉取镜像时报错:Error response from daemon: repository does not exist or may require ‘docker login’_第1张图片
2.点击实例列表(个人版,没有可以创建)
docker拉取镜像时报错:Error response from daemon: repository does not exist or may require ‘docker login’_第2张图片
3.点击访问凭证,先设置密码,再复制下面的命令到linux终端中
docker拉取镜像时报错:Error response from daemon: repository does not exist or may require ‘docker login’_第3张图片
输入密码后 回车
docker拉取镜像时报错:Error response from daemon: repository does not exist or may require ‘docker login’_第4张图片
登录成功!

你可能感兴趣的:(docker,docker)