This repository contains the Dockerfile and associated files for setting up a container with Ubuntu, GNOME 3, TigerVNC and noVNC.
- The VNC Server currently defaults to 1366*768 24bit.
-
Start container:
sudo docker run --name=ubuntu-gnome -d --rm \ --tmpfs /run --tmpfs /run/lock --tmpfs /tmp \ --cgroupns=host --cap-add SYS_BOOT --cap-add SYS_ADMIN \ -v /sys/fs/cgroup:/sys/fs/cgroup \ -p 5901:5901 -p 6901:6901 \ darkdragon001/ubuntu-gnome-vnc
-
Open (root) shell:
sudo docker exec -it ubuntu-gnome bash
-
Open shell as user:
sudo docker exec -it -u default ubuntu-gnome bash
-
Stop container:
sudo docker stop ubuntu-gnome
- Connect to
vnc://<host>:5901
via your VNC client. - Connect to
http://<host>:6901
via your web browser.
NOTE The password is hardcoded to acoman
.
- Gain root access via
sudo
- Sidebar/dock hidden by default
- User switching / gdm3 not working
- Sound (PulseAudio)