赞
踩
【报错】
Error response from daemon: Get https://registry-1.docker.io/v2/library/mysql/manifests/5.7: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fmysql%3Apull&service=registry.docker.io: net/http: TLS handshake timeout
【解决办法】
1、打开终端,su root 输入密码。
2、打开 vim /etc/docker/daemon.json
(若没有自行创建)
3、写入以下内容:
- {
- "registry-mirrors": [
- "https://registry.docker-cn.com",
- "http://hub-mirror.c.163.com",
- "https://docker.mirrors.ustc.edu.cn"
- ]
- }
重启容器
- systemctl daemon-reload
- systemctl restart docker
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。