🚀 快速生成拉取命令
docker pull docker.digac.icu/library/nginx:latest
编辑 /etc/docker/daemon.json 文件,添加本站为默认镜像源:
{
"registry-mirrors": ["https://docker.digac.icu"]
}
保存后重启 Docker 服务生效:
systemctl restart docker
docker pull nginx:latest
无需修改全局配置,直接在镜像名前加上代理域名即可:
# 官方镜像(需要带 /library/ 前缀):
docker pull docker.digac.icu/library/nginx:latest
# 个人/组织镜像:
docker pull docker.digac.icu/hurryos/iptvs-app:latest
在 docker-compose.yml 中直接指定代理镜像地址:
version: '3.8'
services:
web:
image: docker.digac.icu/library/nginx:latest
ports:
- "80:80"
redis:
image: docker.digac.icu/library/redis:alpine
ports:
- "6379:6379"