Podman: Could not open ‘edk2-aarch64-code.fd’

It’s possible to use brew to install Podman on Apple Silicon (M1). The installation gets slightly more complicated when the user wants to use Homebrew installed in user’s home directory.

Problem #1 – gvproxy

Command:

Error:

Solution: add path to Podman’s helper binaries stored in bin and libexec to ~/.config/containers/containers.conf

Problem #2 – edk2-aarch64-code.fd

Command:

Error:

Solution: Open file ~/.config/containers/podman/machine/qemu/podman-machine-default.json and change to /Users/USERNAME/brew/Cellar/qemu/6.2.0_1/share/qemu/edk2-aarch64-code.fd

After these changes Podman should start without problem.