x11docker/xfce

By x11docker

Updated over 2 years ago

Xfce desktop. Based on Debian.

Image

10K+

x11docker/xfce

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.

Please build image instead of pulling it

docker hub does not provide automated builds for free anymore. So this image is becoming old and outdated. Instead of pulling this image, please build it locally yourself. x11docker can do this for you with:

x11docker --build x11docker/xfce

Command examples:

  • Single application: x11docker x11docker/xfce thunar
  • Full desktop: x11docker --desktop x11docker/xfce

Options:

  • 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.

Extend base image

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

Screenshot

XFCE desktop in an Xnest window running with x11docker:

screenshot

Docker Pull Command

docker pull x11docker/xfce