DEV Community

Tomas Kral
Tomas Kral

Posted on • Updated on

Podman: build amd64 images on M1

install qemu-user-static to podman machine VM

podman machine ssh sudo rpm-ostree install qemu-user-static
podman machine ssh sudo systemctl reboot
Enter fullscreen mode Exit fullscreen mode

build amd64 image

podman build --platform linux/amd64 ......
Enter fullscreen mode Exit fullscreen mode

source: https://github.com/containers/podman/discussions/12899

Top comments (0)