├── xfce4-default-config.tgz ├── README.md ├── startup.sh └── Dockerfile /xfce4-default-config.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyverse/ubuntu-desktop-docker/HEAD/xfce4-default-config.tgz -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ubuntu-desktop-docker 2 | 3 | This is a container that has a full Guacamole installation, TurboVNC and Ubuntu XFCE desktop. This allows someone to have a simple all-in-one desktop through their web browser. 4 | 5 | First, get the image by cloning this repository and building it: 6 | ``` 7 | docker build -t ubuntu18-xfce-desktop . 8 | ``` 9 | or by pulling from Docker Hub: 10 | ``` 11 | docker pull cyverse/ubuntu18-xfce-desktop 12 | ``` 13 | 14 | Then, run it: 15 | ``` 16 | docker run -ti -p 8080:8080 ubuntu18-xfce-desktop 17 | ``` 18 | 19 | When the container finishes starting up, it will present you with a link to access the desktop. 20 | 21 | You can set the resolution during startup by using environment variables with: `-e RES=1280x1024` 22 | 23 | By default, the container starts up with SSH and VNC connections enabled in Guacamole. The `-v` or `--vnc-only` option can be passed to the entrypoint to only enable VNC: 24 | ``` 25 | docker run -ti -p 8080:8080 ubuntu18-xfce-desktop --vnc-only 26 | ``` 27 | -------------------------------------------------------------------------------- /startup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | help (){ 4 | echo "USAGE: 5 | docker run -it -p 8080:8080 ubuntu-desktop-docker: