Update README.md with minimal gui-container command
This commit is contained in:
parent
396eb7642a
commit
dcafe9f62d
1 changed files with 10 additions and 0 deletions
10
README.md
10
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
|
||||
|
|
Loading…
Reference in a new issue