无法拉泊坞镜像,得到'远程错误:访问被拒绝'

我试图检查安装docker pull hello-world

但是得到以下错误:

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

我有CentOS 6.5

Docker版本1.7.1,build 786b29d / 1.7.1

我在公司networking,但curl https://index.docker.io/v1/repositories/library/hello-world/images罚款。

可能是什么问题?

提前致谢!

您是否将您的用户添加到docker组中?

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

否则,你应该先用sudo执行docker命令

 docker pull hello-world 

有通过代理工作的主机相同的问题和错误。

实质上 – 如果您位于HTTP代理服务器的后面,则需要在Docker systemd服务文件中添加代理configuration。

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

(请参阅“HTTP代理”部分)。

这帮助了我。

拉图像之前login泊坞窗吗?

 docker login