docker 无法正常pull镜像
Using default tag: latestTrying to pull repository docker.io/library/centos ...
Get https://registry-1.docker.io/v2/library/centos/manifests/latest: net/http: TLS handshake timeout
解决方法
[*] 通过命令查询可用的解析IP
dig @114.114.114.114 registry-1.docker.io
工具需要安装一个命令dig
yum install bind-utils
其它版本安装方式:
在Gentoo下是bind-tools,在Redhat/Fedora下是 bind-utils,或者在 Debian下是 dnsutils。
# dig @114.114.114.114 registry-1.docker.io
;DiG 9.9.4-RedHat-9.9.4-72.el7@114.114.114.114 registry-1.docker.io
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER
页:
[1]