Skip to main content

Containers

Docker Hub

Linux.do: DockerHub国内镜像源列表

vim /etc/docker/daemon.json
# vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://<my-docker-mirror-host>"]
}

K3s

vim /etc/rancher/k3s/registries.yaml
# /etc/rancher/k3s/registries.yaml
mirrors:
"docker.io":
endpoint:
- "https://docker.m.daocloud.io"
- "https://dockerpull.org"
- "https://dockerproxy.net"
"ghcr.io":
endpoint:
- "https://ghcr.nju.edu.cn"
- "https://ghcr.dockerproxy.net"