“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: getsockopt: connection refused. See 'docker run --help'.
我在浏览器中粘贴了https://registry-1.docker.io/v2/
,并得到这个错误:
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}
我需要什么样的授权?