Posts tagged: podman

All posts with the tag "podman"

6 posts latest post 2024-09-30
Publishing rhythm
Sep 2024 | 2 posts

podman requires qemu-system on

❯ podman machine init Looking up Podman Machine image at quay.io/podman/machine-os:5.1 to create VM Extracting compressed file: podman-machine-default-amd64.qcow2: done Error: exec: "qemu-img": executable file not found in $PATH

The fix to this for me was to install qemu-system before podman machine init.

I kept running into limits in the number of subuid and subgid’s I had on my system by default. As always thank the arch wiki guide for having the most comprehensive yet consice guide to setup podman.

What I needed to do to fix the error.

On void linux. Under `/etc/containers/` there is a file called `registries.conf`. It is complemented by `man 5 containers-registries.conf`. Change (for me lines 11-12) which say [registries.search] registries = [] to

[registries.search] registries = ['docker.io']

(drawn from https://www.projectatomic.io/blog/2018/05/podman-tls/)


Without the above you won’t be able to use basic podman functions. You might get errors like:

Various documentation (redhat blog entries, man podman pages) say that dockerhub is a default, but without this step it’s clearly not.

Good luck. Feel free to use the comment box below if you have a github account.

...