使用podman替代docker

安装

sudo apt-get install podman-docker

配置仓库

sudo tee /etc/containers/registries.conf <<-'EOF'
unqualified-search-registries = ["docker.io"]

[[registry]]
prefix = "docker.io"
location = "docker.io"

[[registry.mirror]]
location = "docker.mirrors.tuna.tsinghua.edu.cn"

[[registry.mirror]]
location= "ghcr.io"
EOF

 

Leave a Reply

Your email address will not be published. Required fields are marked *