From a36ea62406d164f53cb6e31e212a5d5059944b09 Mon Sep 17 00:00:00 2001 From: Mirko Brombin Date: Fri, 2 Aug 2024 10:47:35 +0200 Subject: [PATCH] fix[close #1]: 3D acceleration doesn't work if container was created with --unshare-all --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05e8ac7..8659c7b 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ podman image build -t vanillaos/virt . > The container needs to be rootfull. ```bash -distrobox create --root --init --unshare-all -i ghcr.io/vanilla-os/virt:main -n virt # replace with your local image if you built it +distrobox create --root --init --unshare-groups --unshare-ipc --unshare-netns --unshare-process -i ghcr.io/vanilla-os/virt:main -n virt # replace with your local image if you built it distrobox enter --root virt ``` @@ -66,4 +66,4 @@ if the above command fails due to missing network, try loading it from the XML: sudo virsh net-define /usr/share/libvirt/networks/default.xml sudo virsh net-start default virsh net-autostart default -``` \ No newline at end of file +```