Podman

配置镜像加速

sudo tee /etc/containers/registries.conf.d/accelerator.conf >/dev/null <<'EOF'
[[registry]]
prefix = "docker.io"
location = "gh-proxy.cn"
insecure = false
EOF
podman pull nginx:latest

location 字段只接受主机名,不要带 https:// 前缀。

最后更新:2026-09-20 21:53:37