docker安装小坑

按照网上的安装,然后测试hello-world,竟然出现了错误,如下:

Error response from daemon: Get https://registry-1.docker.io/v2/: x509: certificate is valid for *.ilp.elluciancloud.com, not registry-1.docker.io

然后按照网上的指导,配置了dig

又出现了新的错误:

Get https://registry-1.docker.io/v2/library/hello-world/manifests/sha256:92c7f9c92844bbbb5d0a101b22f7c2a7949e40f8ea90c8b3bc396879d95e899a: net/http: TLS handshake timeout

按照网上搜到的如下命令:

curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io

最终将docker配置完成,在找bug的时候心一定要静,用心思考!!

猜你喜欢

转载自www.cnblogs.com/pc-m/p/11041554.html