docker报错信息:
Error response from daemon: Get "https://index.docker.io/v1/search?q=rabbitmq%3A3-management&n=25": dial tcp 69.63.176.59:443: i/o timeout
解决办法:
打开文件:
vi /etc/docker/daemon.json
写入内容:
{
"registry-mirrors": [
"https://0dj0t5fb.mirror.aliyuncs.com",
"https://docker.mirrors.ustc.edu.cn",
"https://6kx4zyno.mirror.aliyuncs.com",
"https://registry.docker-cn.com"
]
}
重启docker:
systemctl daemon-reload
systemctl restart docker
使用方法:
在 docker 命令后边跟上 docker.unsee.tech
例如:
docker search hello-world # 报错
docker search rabbitmq # 报错
docker pull hello-world # 报错
docker pull rabbitmq # 报错
docker search docker.unsee.tech/hello-world
docker search docker.unsee.tech/rabbitmq
docker pull docker.unsee.tech/hello-world
docker pull docker.unsee.tech/rabbitmq