Ubuntu Desktop in a Container
A complete Ubuntu 22.04 desktop environment with XFCE, accessible through VNC clients or your web browser. No virtual machine required.
docker pull ubuntu-desktop
→ Ubuntu 22.04 desktop starting...
→ VNC server listening on port 5901
→ noVNC available at http://localhost:6080
Overview
A Complete Ubuntu Desktop Experience
This Docker image provides a complete Ubuntu desktop experience accessible through VNC clients or web browsers. Perfect for remote development, testing, or when you need a Linux desktop environment without a full VM.
Built on Ubuntu 22.04 LTS with the XFCE desktop environment, TigerVNC server, and noVNC web interface, this containerized solution gives you instant access to a fully functional Linux desktop with minimal resource overhead.
Docker → Container → XFCE Desktop
Key Features
Everything You Need
XFCE Desktop Environment
Lightweight and responsive desktop interface with XFCE4 goodies and Xubuntu icon theme for a polished experience.
apt install xfce4VNC Access
Connect using any VNC client on port 5901. TigerVNC provides fast, reliable remote desktop performance.
localhost:5901Web Browser Access
Access your desktop through any web browser on port 6080 via noVNC with WebSockify — no client installation needed.
http://localhost:6080Firefox Browser
Pre-installed Firefox with Mozilla PPA for the latest updates, ready to browse right out of the box.
firefoxDevelopment Tools
Includes vim, git, curl, wget, and full terminal access — everything you need for development workflows.
vim · git · curl · wgetReady-to-Use Setup
No authentication required — get started instantly. Ideal for development and testing environments.
no-authTech Stack
Built on Trusted Foundations
- Base: Ubuntu 22.04 LTS (linux/amd64)
- Desktop: XFCE4 with goodies + Xubuntu icon theme
- VNC Server: TigerVNC
- Web Interface: noVNC with WebSockify
- Browser: Firefox (Mozilla PPA)
Access Methods
- VNC Client: Connect to
localhost:5901 - Web Browser: Navigate to
http://localhost:6080
⚠️ Security Note
This image runs with no VNC authentication and uses self-signed certificates. Intended for development/testing environments only. Do not expose it to untrusted networks.
Quick Start
Get Up and Running
docker build -t docker-ubuntu-free .
# Run the container
docker run -p 5901:5901 -p 6080:6080 docker-ubuntu-free
Run these commands in your terminal to get started. Make sure Docker is installed on your system.
Default Configuration: Resolution 1024×768 · User: root · VNC Port: 5901 · Web Port: 6080