赞
踩
docker compose下载 速度太慢导致超时
error pulling image configuration: download failed after attempts=6: dial tcp 104.18.121.25:443: i/o timeout
使用的是github的源基本都是超时
阿里云镜像加速器
1 创建文件夹
sudo mkdir -p /etc/docker
2 将JSON串写入到daemon.json
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://i1el1i0w.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
查看docker镜像源
cat /etc/docker/daemon.json
重新执行docker compose命令下载软件
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。