From dcafe9f62d40e239db92f9483f3a13ec469f5b9e Mon Sep 17 00:00:00 2001 From: Maciej Lebiest <68295743+Szwendacz99@users.noreply.github.com> Date: Sat, 22 Jul 2023 21:11:50 +0200 Subject: [PATCH] Update README.md with minimal gui-container command --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 17a98b6..8776174 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,16 @@ podman run --privileged -it \ gui-container:latest ``` +Minimal(?)permissions example (for wayland)(you could also select single sockets from XDG_RUNTIME_DIR) +```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" \ + --entrypoint bash --name "gui_container" \ + gui-container:latest +``` + starting dbus: ```bash