feat: fix UID/GID issues

This commit is contained in:
Settel 2025-04-11 15:10:56 +02:00
parent f1b1890425
commit e73183c879

View File

@ -14,7 +14,8 @@ run:
podman run -it \ podman run -it \
--rm \ --rm \
--net host \ --net host \
--memory 512mb \ --memory 1024mb \
--userns=keep-id:uid=1000,gid=1000 \
-v /tmp/.X11-unix:/tmp/.X11-unix \ -v /tmp/.X11-unix:/tmp/.X11-unix \
-v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket \ -v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket \
-e DISPLAY=unix$$DISPLAY \ -e DISPLAY=unix$$DISPLAY \
@ -25,6 +26,7 @@ run:
--device /dev/dri \ --device /dev/dri \
-v /dev/shm:/dev/shm \ -v /dev/shm:/dev/shm \
--name teams-pwa \ --name teams-pwa \
--entrypoint=/bin/bash \
teams-pwa:$(VERSION) teams-pwa:$(VERSION)
# -v $HOME/.config/google-chrome/:/data \ # if you want to save state # -v $HOME/.config/google-chrome/:/data \ # if you want to save state