tldr/pages/common/x11docker.md

26 lines
570 B
Markdown

# x11docker
> Securely run GUI applications and desktop UIs in Docker containers.
> See also `xephyr`.
> More information: <https://github.com/mviereck/x11docker>.
- Launch VLC in a container:
`x11docker --pulseaudio --share={{$HOME/Videos}} {{jess/vlc}}`
- Launch Xfce in a window:
`x11docker --desktop {{x11docker/xfce}}`
- Launch GNOME in a window:
`x11docker --desktop --gpu --init={{systemd}} {{x11docker/gnome}}`
- Launch KDE Plasma in a window:
`x11docker --desktop --gpu --init={{systemd}} {{x11docker/kde-plasma}}`
- Display help:
`x11docker --help`