podman配置镜像源

vim /etc/containers/registries.conf
unqualified-search-registries = ["docker.io"]

[[registry]]
prefix = "docker.io"
location = "docker.m.daocloud.io"
insecure = false
blocked = false
cat /etc/containers/registries.conf | podman machine ssh -- 'sudo tee /etc/containers/registries.conf > /dev/null'

 

podman machine stop

podman machine start

 

posted @ 2025-11-16 15:19  NAVYSUMMER  阅读(53)  评论(0)    收藏  举报
交流群 编程书籍