初识docker

win10 下安装 docker

	docker run hello-world

出现错误:Unable to find image ‘hello-world:latest’ locally
latest: Pulling from library/hello-world
0e03bdcc26d7: Pulling fs layer docker: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/bf/bf756fb1ae65adf866bd8c456593cd24beb6a0a061dedf42b26a993176745f6b/data?verify=1590123267-q6taOMAv5SwXIyJHNh%2FHBy1o5yk%3D: dial tcp 104.18.122.25:443: i/o timeout.
See ‘docker run --help’.
解决方式:添加国内镜像加速源,修改 …Docker\resources\windows-daemon-options.json: “registry-mirrors”: [“https://registry.docker-cn.com”,“http://hub-mirror.c.163.com”],后重启docker。

测试到:docker push zoujian123456/bulletinboard:1.0 失败,因为服务器连不上: telnet 104.18.124.25 443,后面再看看。。。(后来通了好了! 哈哈。。)
https://docs.docker.com/get-started/part3/

你可能感兴趣的:(docker)