docker hub / k8s.gcr.io / registry.k8s.io / gcr.io / ghcr.io / quay.io / docker.elastic.co / centos7.9 yum repository /...https://i.sanxian.tech to your docker or others container software mirror settingsi.sanxian.techsed -i -e "s#http://mirror.centos.org#https://i.sanxian.tech#" -e "s/^mirrorlist=/#&/" -e "s/^#\(baseurl=\)/\1/" /etc/yum.repos.d/*.repoexport GOPROXY="https://i.sanxian.tech/goproxy,direct"root@ubu-18:~# cat /etc/docker/daemon.json
{
"registry-mirrors":[
"https://i.sanxian.tech"
],
"insecure-registries": ["0.0.0.0/0"],
"debug": false,
"live-restore": false
}
Restart dockerd as needed,then pull the container images as usual
or
docker pull i.sanxian.tech/library/alpine:3.13
or
docker pull i.sanxian.tech/alpine:3.13