简体   繁体   English

无法拉动泊坞窗图像,导致“远程错误:访问被拒绝”

[英]Unable to pull docker image, getting 'remote error: access denied'

I'm trying to check the installation docker pull hello-world 我正在尝试检查安装docker pull hello-world

But getting the following error: 但是得到以下错误:

Pulling repository hello-world
Get https://index.docker.io/v1/repositories/library/hello-world/images: remote error: access denied

I have CentOS 6.5 我有CentOS 6.5

Docker version 1.7.1, build 786b29d/1.7.1 Docker版本1.7.1,版本786b29d / 1.7.1

I'm in a corporate network but curl https://index.docker.io/v1/repositories/library/hello-world/images forks fine. 我在公司网络,但curl https://index.docker.io/v1/repositories/library/hello-world/images分叉。

What might be the issue? 可能是什么问题?

Thanks in advance! 提前致谢!

I got this error while I was trying to pull mongodb image instead of mongo . 我在尝试拉取mongodb图像而不是mongo出现此错误。

So make sure image name is correct. 因此请确保图像名称正确无误。 The very same error message happens on both run and pull commands. runpull命令都会出现同样的错误消息。

Had the same problem & error on the host working via proxy. 在通过代理工作的主机上有相同的问题和错误。

In essence - if you are behind an HTTP proxy server, you will need to add proxy configuration in the Docker systemd service file. 实质上 - 如果您位于HTTP代理服务器后面,则需要在Docker systemd服务文件中添加代理配置。

https://docs.docker.com/engine/admin/systemd/ https://docs.docker.com/engine/admin/systemd/

(See at "HTTP proxy" section). (参见“HTTP代理”部分)。

This helped me. 这对我有帮助。

Did you add your user in docker group 您是否在docker组中添加了用户?

https://docs.docker.com/engine/installation/linux/centos/#/create-a-docker-group https://docs.docker.com/engine/installation/linux/centos/#/create-a-docker-group

Otherwise, you should execute docker command with sudo before 否则,你应该先用sudo执行docker命令

docker pull hello-world

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 私有 docker 存储库上的“拉取图像失败:拉取访问被拒绝” - "Failed to pull image: pull access denied" on a private docker repository 无法在本地找到图像 'sensor1container:latest' docker:来自守护程序的错误响应:对 sensor1container 的拉取访问被拒绝,存储库确实 - Unable to find image 'sensor1container:latest' locally docker: Error response from daemon: pull access denied for sensor1container, repository does 在 Windows 10 上使用 Docker 拉取映像:“无法注册层……拒绝访问” - Pull Image with Docker on Windows 10 : “failed to register layer …Denied Access” Laravel 8:docker 拉取访问被拒绝 - Laravel 8: docker pull access denied Docker:无法从远程私有注册表中提取图像 - Docker: Unable to pull image from remote private registry docker pull votes-app throws access to the resource is denied 错误 - docker pull voting-app throws access to the resource is denied error 错误无法将图像'library/web:latest'推送到注册表'docker.io'。 错误:被拒绝:请求的资源访问被拒绝 - Kompose up - ERROR Unable to push image 'library/web:latest' to registry 'docker.io'. Error: denied: requested access to the resource is denied - Kompose up CannotPullContainerError:来自守护进程的错误响应:拒绝 ECR 存储库映像的拉取访问,存储库不存在或可能需要“docker 登录” - CannotPullContainerError: Error response from daemon: pull access denied for ECR Repo Image, repository does not exist or may require 'docker login' Failed to pull image pull access denied ,存储库不存在或可能需要“docker login”: - Failed to pull image pull access denied , repository does not exist or may require 'docker login': 拉取图像失败:拒绝 gin-web 拉取访问,存储库不存在或可能需要“docker 登录” - Failed to pull image: pull access denied for gin-web, repository does not exist or may require 'docker login'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM