Open TheRouletteBoi opened 1 month ago
I think this has something to do with Podman, it uses a bit different permissions than normal Docker.
Can you see if it works when you add --privileged
to the run command?
I think this has something to do with Podman, it uses a bit different permissions than normal Docker.
Can you see if it works when you add
--privileged
to the run command?
I got a little further using the --privileged
I have no idea about the reason to be honest :(
But KVM support for the M1 in Asahi Linux is pretty new and experimental, so maybe its some incompatibility between KVM and the M1 CPU. I only tested this container on Raspberry Pi 4 and 5, and their CPU's have better Linux support.
Also, this container is for Docker, not for Podman. So it is also possible that it is not caused by KVM but by Podman. So you could try if it works in Docker.
Is there an existing issue for this?
Machine specifications
Apple M1 Pro, 16GB Ram
Operating system
Asahi Linux Fedora Remix 40
Docker version
podman version 5.0.2
Description
when trying to run a windows vm using podman I get the following error:
ERROR: TUN device missing. Please add the following setting to your container: --device /dev/net/tun --cap-add
Docker compose
commands used:
podman run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows-arm
podman run -it --rm --name windows -p 8006:8006 --device=/dev/net/tun --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows-arm
Docker log
N/A
Screenshots (optional)