A containerised Cinnamon Linux desktop accessible via VNC, built with the help of Claude AI and inspired by the How-To Geek article I run a full Linux desktop in Docker just because I can.
- Ubuntu 22.04 base image
- Cinnamon desktop environment
- TigerVNC for remote desktop access
- noVNC for optional browser-based access
- Brave Browser — privacy-focused web browser
- LibreCAD — open source 2D CAD application
- Docker installed
- Docker Compose installed
-
Clone the repository
git clone https://github.com/ZuluPilgrim/cinnamon-vnc.git cd cinnamon-vnc -
Create your environment file
cp .env.example .env
Edit
.envand set a strong VNC password:VNC_PASSWORD=your-secure-password BIND_IP=127.0.0.1⚠️ Never commit.envto version control — it is already listed in.gitignore.
Build the image (required on first run or after any changes to the Dockerfile):
sudo docker compose build --no-cacheStart the container:
sudo docker compose up -dConnect with any VNC client (e.g. TigerVNC Viewer, RealVNC) at:
localhost:5901
sudo docker compose down- Inspired by the How-To Geek article: I run a full Linux desktop in Docker just because I can by Ali Haider
- Built with the assistance of Claude AI by Anthropic