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://前缀。
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://前缀。