Skip to content

Instantly share code, notes, and snippets.

@mageddo
Last active March 17, 2016 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mageddo/e0d9905847243d23beca to your computer and use it in GitHub Desktop.
Save mageddo/e0d9905847243d23beca to your computer and use it in GitHub Desktop.
Run Lubuntu GUI On docker

Using it

  • Run docker image with start.sh script
  • Set your password for vnc access
  • Access 127.0.0.1:5901 on your vnc client
  • Set your password

Enjoy

#/bin/sh
docker pull shabutora/ubuntu-gui-java
docker run -it --rm \
-p 5901:5901 \
-e USER=root \
shabutora/ubuntu-gui-java \
bash -c "vncserver :1 -geometry 1280x800 -depth 24 && tail -F /root/.vnc/*.log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment