Sign inSign up

ianblenke/xfce

By ianblenke

Updated almost 11 years ago

alpine backed xfce4 desktop

Image
8

100K+

ianblenke/xfce repository overview

ianblenke/docker-xfce

An alpine linux based docker image for a xfce4 desktop. At 470mb, it's half as big as the ubuntu base image.

docker run -ti --rm \
           --net=host \
           -e DISPLAY=$DISPLAY \
           -v ~/.Xauthority:/root/.Xauthority \
           -v /tmp/.X11-unix:/tmp/.X11-unix \
           ianblenke/xfce

You can either use the autobuild ianblenke/xfce docker registry image, or you can build your own custom local docker image by cloning [github.com/ianblenke/docker-xfce] and running make:

make

Notes:

  1. The "--net=host" is important for DISPLAY=localhost
  2. The .Xauthority volume mount is important for xauth trust.
  3. Please don't "xhost +", it makes me cry just thinking about it.
  4. The /tmp/.X11-unix is for a unix domain docket based DISPLAY

If you're having problems with your DISPLAY, it's that the container either can't connect to whatever it is your DISPLAY points to, or you don't have the xauth cookie rights to talk to the X server.

Tag summary

Content type

Image

Digest

sha256:9f9d4ddd6

Size

164.7 MB

Last updated

almost 11 years ago

docker pull ianblenke/xfce