Docker换源
Podman换源
网易 hub-mirror.c.163.com USTC docker.mirrors.ustc.edu.cn
vim /etc/containers/registries.conf
################################################
unqualified-search-registries = ["docker.io"]
[[registry]]
prefix = "docker.io"
location = "l6p4ic76.mirror.aliyuncs.com"
#################################################
Docker换源
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://l6p4ic76.mirror.aliyuncs.com"],
"log-driver":"json-file",
"log-opts": {"max-size":"500m", "max-file":"3"}
}
systemctl restart docker
> 南京大学
https://docker.nju.edu.cn/
> 网易
http://hub-mirror.c.163.com
> 腾讯云 docker hub mirror
https://mirror.ccs.tencentyun.com
> docker中国
https://registry.docker-cn.com
> 我的 daocloud
http://f1361db2.m.daocloud.io
> 我的华为云
https://326fcbdbb5c7487aa2d8180833e71119.mirror.swr.myhuaweicloud.com
) 我的阿里云
https://l6p4ic76.mirror.aliyuncs.com
查看镜像源
docker info
podman info