rootless podman in rootless podman なら動く(Ubuntu 22.04)。
ただし、ホストに書き込むには podman unshare
を使ってコンテナ内のユーザー用にパーミッションを変更する必要がある。
$ echo $UID:$GID
1000:1000
$ podman unshare chown 1000:1000 -R $PWD
$ podman run -it --rm --user podman --device /dev/fuse -v $PWD:/workdir:Z -w /workdir quay.io/podman/stable bash
[podman@328a1796e173 workdir]$ podman run -it --rm -v $PWD:/workdir:Z -w /workdir alpine sh
...