Docker拉取镜像指定镜像源
正常拉取
docker pull mysql:8.0.36
docker pull tduckcloud/tduck-platform:latest
指定镜像源(docker.1ms.run)
docker pull docker.1ms.run/library/mysql:8.0.36
docker pull docker.1ms.run/tduckcloud/tduck-platform:latest
配置 Docker 镜像加速器(推荐,不用每次写域名)
编辑 docker daemon 配置文件
vim /etc/docker/daemon.json |
写入配置文件:
{ |
重启docker:
systemctl daemon-reload |
赏
微信打赏
微信打赏
意外收获认可,内心充满感激;打赏之举,更添无限动力。