HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

x11docker — Securely run GUI applications and desktop UIs in Docker containers. See also: `xephyr`. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
x11dockercommandrunandclisecurelyapplicationsgui

Problem

How to use the x11docker command: Securely run GUI applications and desktop UIs in Docker containers. See also: xephyr. More information: <https://github.com/mviereck/x11docker#terminal-syntax>.

Solution

x11docker — Securely run GUI applications and desktop UIs in Docker containers. See also: xephyr. More information: <https://github.com/mviereck/x11docker#terminal-syntax>.

Launch VLC in a container:
x11docker {{[-p|--pulseaudio]}} --share {{$HOME/Videos}} {{jess/vlc}}


Launch Xfce in a window:
x11docker {{[-d|--desktop]}} {{x11docker/xfce}}


Launch GNOME in a window:
x11docker {{[-d|--desktop]}} {{[-g|--gpu]}} --init={{systemd}} {{x11docker/gnome}}


Launch KDE Plasma in a window:
x11docker {{[-d|--desktop]}} {{[-g|--gpu]}} --init={{systemd}} {{x11docker/kde-plasma}}


Display help:
x11docker --help

Code Snippets

Launch VLC in a container

x11docker {{[-p|--pulseaudio]}} --share {{$HOME/Videos}} {{jess/vlc}}

Launch Xfce in a window

x11docker {{[-d|--desktop]}} {{x11docker/xfce}}

Launch GNOME in a window

x11docker {{[-d|--desktop]}} {{[-g|--gpu]}} --init={{systemd}} {{x11docker/gnome}}

Launch KDE Plasma in a window

x11docker {{[-d|--desktop]}} {{[-g|--gpu]}} --init={{systemd}} {{x11docker/kde-plasma}}

Display help

x11docker --help

Context

tldr-pages: common/x11docker

Revisions (0)

No revisions yet.