services: archSysGui: build: context: . dockerfile: Dockerfile args: - "USER_ID=${UID:-1000}" - "GROUP_ID=${GID:-100}" pull_policy: build image: katzenkralle/archsysv2:latest environment: - GDK_BACKEND=wayland - QT_QPA_PLATFORM=wayland - WAYLAND_DISPLAY=$WAYLAND_DISPLAY - XDG_BACKEND=wayland - XDG_SESSION_TYPE=wayland - XDG_RUNTIME_DIR=/tmp/xdg_runtime - PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native - DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus - DISPLAY=$DISPLAY # Needed by steam for user namespacing cap_add: - SYS_ADMIN security_opt: - seccomp=unconfined volumes: - $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY:/tmp/xdg_runtime/$WAYLAND_DISPLAY - /tmp/.X11-unix:/tmp/.X11-unix:rw - ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native # Add further directories to the container as needed - ~/.local/share/icons:/home/someone/.local/share/icons - ~/.local/share/themes:/home/someone/.local/share/themes - ~/.config:/home/someone/.config - ~/.local/share/Steam/steamapps/:/home/someone/.local/share/Steam/steamapps/ - /mnt/DT01ACA1/SteamLibrary/:/mnt/DT01ACA1/SteamLibrary - /mnt/DT01ACA3/SteamLibrary/:/mnt/DT01ACA3/SteamLibrary ipc: host user: ${UID:-1000}:${GID:-100} # Alternativly use: LIBGL_ALWAYS_SOFTWARE=1 steam to launch steam, no GPU devices: - /dev/kfd - /dev/dri - /dev/snd # ALSA sound