其他分享
首页 > 其他分享> > podman镜像加速配置

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 

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

标签:podman,location,io,mirror,镜像,registries,加速,containers,registry
来源: https://www.cnblogs.com/jawide/p/15861070.html