Containers
Docker Hub
- https://docker.m.daocloud.io
- https://dockerpull.org
- https://dockerproxy.net
- https://ghcr.nju.edu.cn
- https://ghcr.dockerproxy.net
vim /etc/docker/daemon.json
# vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://<my-docker-mirror-host>"]
}
K3s
- https://docs.k3s.io/installation/private-registry
- https://docs.k3s.io/installation/registry-mirror
- https://forums.truenas.com/t/allow-specify-registry-mirrors-or-proxies-in-etc-docker-daemon-json/13068
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"