Open klren0312 opened 8 hours ago
podman machine ssh [optional-machine-name]
虚拟机名称可以使用podman machine list查看
podman machine list
sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.bak
sudo vi /etc/containers/registries.conf
文件内容
unqualified-search-registries = ["docker.io"] [[registry]] prefix = "docker.io" location = "docker.1ms.run" insecure = true [[registry.mirror]] location = "docker.1ms.run" insecure = true [[registry.mirror]] location = "docker.rainbond.cc" insecure = true [[registry.mirror]] location = "docker.udayun.com" insecure = true [[registry.mirror]] location = "hub.geekery.cn" insecure = true [[registry.mirror]] location = "ghcr.geekery.cn" insecure = true
1. 进入podman虚拟机
虚拟机名称可以使用
podman machine list
查看2. 备份虚拟机镜像配置文件
3. 编辑文件
文件内容