Sodamhan.com

TL;DR

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

This document was created using the contents of the tldr project.