摘录:docker,podman配置国内镜像国内源
https://blog.csdn.net/kfepiza/article/details/127158036
docker配置文件 /etc/docker/daemon.json
/etc/docker/daemon.json
, 如果没有就创建一个
podman的配置文件 /etc/containers/registries.conf
- 全局配置文件:
/etc/containers/registries.conf
- 用户配置文件:
~/.config/containers/registries.conf
一些国内镜像地址
Docker中国区官方镜像 , 221005好像不能用
https://registry.docker-cn.com
网易, 221005能用
http://hub-mirror.c.163.com
中国科技大学 , 221005好像不能用
https://docker.mirrors.ustc.edu.cn
阿里云容器 生成自己的加速地址
登录:https://cr.console.aliyun.com/#/accelerator
点击“创建我的容器镜像”,得到专属加速地址。