podman镜像加速配置

unqualified-search-registries = ["docker.io"]

[[registry]]
prefix = "docker.io"
location = "docker.io"

[[registry.mirror]]
location = "hub-mirror.c.163.com"

[[registry.mirror]]
location = "mirror.baidubce.com"

[[registry.mirror]]
location = "f1361db2.m.daocloud.io"

[[registry.mirror]]
location = "ustc-edu-cn.mirror.aliyuncs.com"

[[registry.mirror]]
location = "ghcr.io"

建议先备份原配置文件

cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
echo '' > /etc/containers/registries.conf 

然后将上面的配置粘贴进去

posted @ 2022-02-03 00:29  jawide  阅读(4088)  评论(1编辑  收藏  举报