From ac0490dca07a46aea5d5757837d69abcd999e16d Mon Sep 17 00:00:00 2001 From: Maciej Lebiest <68295743+Szwendacz99@users.noreply.github.com> Date: Sun, 13 Aug 2023 14:05:07 +0200 Subject: [PATCH] Minimal permissions on gui container example update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a018757..464b530 100644 --- a/README.md +++ b/README.md @@ -48,12 +48,12 @@ podman run --privileged -it \ gui-container:latest ``` -Minimal(?)permissions example (for wayland)(you could also select single sockets from XDG_RUNTIME_DIR) +Minimal permissions example (for wayland). Mounting just the display server socket, there will be no sound or anything else: ```bash podman run -it --security-opt label:disable \ -e XDG_RUNTIME_DIR=/runtime_dir\ -e WAYLAND_DISPLAY="$WAYLAND_DISPLAY" \ - -v "$XDG_RUNTIME_DIR:/runtime_dir:rw" \ + -v "$XDG_RUNTIME_DIR/wayland-0:/runtime_dir/wayland-0:rw" \ --entrypoint bash --name "gui_container" \ gui-container:latest ```