目 录CONTENT

文章目录

docker pull 镜像 net http请求超时问题!

Hello!你好!我是村望~!
2023-02-13 / 0 评论 / 0 点赞 / 299 阅读 / 128 字
温馨提示:
我不想探寻任何东西的意义,我只享受当下思考的快乐~

docker遇到的错误:

Error response from daemon: Get "https://registry-1.docker.io/v2/library/mysql/manifests/sha256:8653a170e0b0df19ea95055267def2615fc53c62df529e3750817c1a886485f0": net/http: TLS handshake timeout

解决方式

vi /etc/resolv.conf 

加入:

nameserver 8.8.4.4
nameserver 8.8.8.8

然后再去 pull OK的

[root@VM-12-8-centos test-go-myql-dirver]# ​​docker pull mysql
Using default tag: latest
latest: Pulling from library/mysql
197c1adcd755: Pull complete 
45f2e353f7d2: Pull complete 
68ec6ece42ef: Pull complete 
cfa4d9a7b88e: Pull complete 
64cab5858b1d: Pull complete 
92fcd248d982: Pull complete 
88635e83312d: Pull complete 
43f0427259d9: Pull complete 
79828698a290: Pull complete 
a8854781893e: Pull complete 
6c8bdf3091d9: Pull complete 
Digest: sha256:8653a170e0b0df19ea95055267def2615fc53c62df529e3750817c1a886485f0
Status: Downloaded newer image for mysql:latest
docker.io/library/mysql:latest
0

评论区