Skip to content
throw-away linux desktop in a docker container
Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Throw-Away Linux Desktop in a Docker Container

This container image is based upon Ubuntu 18.04 and creates a simple container with a Mate desktop environment and some tools installed.

It is meant for small-scale shared work by also exposing the desktop over VNC.


run the script


run the script

When the container is closed all it's data will be "thrown away" and thus is not persistent. If you want it to become persistent please read in the advanced section below.

As the temporary container starts up it will ask for a VNC password and additional just-view password. You can then connect to the desktop with a VNC client of your choice and the password on port 5901 (default vnc).

This will result in this:


Extract the root-home.tar.gz folder to a directory of your choice. Start the container alike the script does but add the folder you've extracted the root-home.tar.gz to to the -v mountings of the docker run command and mount it to /root.

You can’t perform that action at this time.