Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
&引用;docker run hello world“;有授权错误_Docker - Fatal编程技术网

&引用;docker run hello world“;有授权错误

&引用;docker run hello world“;有授权错误,docker,Docker,我在mac上成功安装了docker docker -v Docker version 1.13.1, build 092cba3. 但当我这么做的时候: docker run hello-world Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 192.168.65.1:443

我在mac上成功安装了docker

docker -v
Docker version 1.13.1, build 092cba3.
但当我这么做的时候:

docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp 192.168.65.1:443: getsockopt: connection refused.
See 'docker run --help'.
我粘贴了
https://registry-1.docker.io/v2/
在我的浏览器中,出现以下错误:

{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}

我需要什么样的授权?

连接被拒绝意味着Docker无法连接到该网站。您在桌面上遇到的错误与此完全无关。您是否支持代理?嗨,BMitch,感谢您提及代理。我正在使用vpn。断开vpn连接后,我现在可以运行hello world。