XFCE desktop in Docker image. Based on Debian.
- Run XFCE desktop in docker.
- Use x11docker to run GUI applications and desktop environments in docker images.
- Single application:
x11docker x11docker/xfce thunar - Full desktop:
x11docker --desktop x11docker/xfce
- Persistent home folder stored on host with
--home - Shared host file or folder with
--share PATH - Hardware acceleration with option
--gpu - Clipboard sharing with option
--clipboard - ALSA sound support with option
--alsa - Pulseaudio sound support with option
--pulseaudio - Language locale settings with
--lang [=$LANG] - Printing over CUPS with
--printer - Webcam support with
--webcam
Look at x11docker --help for further options.
To add your desired applications, create your own Dockerfile with this image as a base. Example:
FROM x11docker/xfce
RUN apt-get update
RUN apt-get install -y midori
XFCE desktop in an Xnest window running with x11docker: