Ubuntu 24.04 安装最新版podman@5.6.1

0. 更新系统

sudo apt update && sudo apt upgrade -y

1. 下载并解压官方静态包

cd /tmp
curl -L -O https://github.com/containers/podman/releases/download/v5.6.1/podman-remote-static-linux_amd64.tar.gz
tar -xzf podman-remote-static-linux_amd64.tar.gz
chmod +x podman-remote-static-linux_amd64
sudo mv podman-remote-static-linux_amd64 /usr/local/bin/podman
rm -f podman-remote-static-linux_amd64.tar.gz

2. 安装全部辅助软件

sudo apt install -y
qemu-system-x86
gvproxy
virtiofsd # ← 已补齐

3. 拉起 Podman Machine

podman machine init
podman machine start

4. 验证

podman info
podman run --rm hello-world

posted @ 2025-09-15 12:27  柒零壹  阅读(114)  评论(0)    收藏  举报