A containerized environment for running Vision antidetect browser with VNC remote desktop access. This setup provides a complete Ubuntu desktop environment (XFCE4) accessible through your web browser via noVNC.
This project packages Vision in a Docker container with:
- Ubuntu 24.10 base image
- XFCE4 desktop environment
- VNC server (TightVNC) for remote desktop access
- noVNC web interface for browser-based VNC access
- Chromium browser pre-installed to ensure that required browser packages are installed
- Vision automation tool
- π₯οΈ Browser-based access: Connect to the desktop environment directly from your web browser
- π Sandboxed environment: Runs as non-root user (
sandbox) for security - π Easy deployment: Simple Docker Compose setup
- π Auto-restart: Container automatically restarts unless explicitly stopped
- π¦ Pre-configured: All dependencies and tools ready to use
- Docker (version 20.10 or higher)
- Docker Compose (version 1.29 or higher)
- At least 4GB of available RAM
- Modern web browser (Chrome, Firefox, Safari, or Edge)
git clone <repository-url>
cd vision-dockerdocker-compose up -dThis will:
- Build the Docker image (first time only, may take 5-10 minutes)
- Start the container in detached mode
- Expose ports 6080 (noVNC) and 3030 (Vision HTTP server)
Open your web browser and navigate to:
http://localhost:6080
VNC Password: password
Vision API server is available at:
http://localhost:3030
docker-compose up -ddocker-compose downdocker-compose logs -fIf you make changes to the Dockerfile:
docker-compose up -d --builddocker-compose exec vision bashThe Dockerfile creates a multi-layered Ubuntu environment:
- Base System: Ubuntu 24.10 with locale and core utilities
- Desktop Environment: XFCE4 with X.org server
- VNC Stack: TightVNC server + noVNC + websockify
- Browser: Chromium with dependencies
- Vision: Latest version from official source
- User Setup: Non-root
sandboxuser with sudo privileges
The entrypoint.sh script handles container initialization:
- Sets up environment variables
- Starts D-Bus daemon
- Configures VNC server with XFCE4 session
- Launches noVNC web interface
- Starts Vision API server
- Maintains container with log tailing
The docker-compose.yml provides:
- Shared memory: 4GB allocated for browser operations
- Port mapping: 6080 (noVNC) and 3030 (Vision)
- Restart policy: Automatic restart unless stopped
| Port | Service | Description |
|---|---|---|
| 6080 | noVNC | Web-based VNC client interface |
| 3030 | Vision | Vision API server |
| 5901 | VNC | VNC server (internal, not exposed) |
Edit entrypoint.sh line 46:
echo "your-new-password" | vncpasswd -f > $HOME/.vnc/passwdEdit entrypoint.sh line 54:
vncserver :1 -geometry 1920x1080 -depth 24 -rfbport 5901Edit Dockerfile line 52:
echo "sandbox:your-new-password" | chpasswd && \Check logs:
docker-compose logs- Verify container is running:
docker-compose ps - Check port isn't already in use:
lsof -i :6080 - Try accessing via container IP directly
- Check VNC logs:
docker-compose exec vision cat ~/.vnc/*.log - Restart the container:
docker-compose restart
- Check if Vision process is running:
docker-compose exec vision ps aux | grep Vision - Verify Vision installation:
docker-compose exec vision which Vision - Check Vision logs in container output
- Increase shared memory in
docker-compose.yml(currently 4GB) - Allocate more CPU/RAM to Docker
- Reduce VNC screen resolution
- Default passwords: Change the default VNC password (
password) and user password before deploying in production - Network exposure: By default, ports are exposed on all interfaces (
0.0.0.0). Consider restricting to localhost or using a reverse proxy - Sudo access: The
sandboxuser has sudo privileges. Remove if not needed - No authentication: noVNC has no additional authentication beyond VNC password
- Production use: This setup is designed for development/testing. For production, add:
- SSL/TLS encryption
- Proper authentication
- Network isolation
- Regular security updates
- CPU: 2+ cores recommended
- RAM: 4GB minimum, 8GB recommended
- Disk: 5GB for image + additional space for usage
- Network: Internet connection for building image
This project configuration is provided as-is. Please refer to individual component licenses:
Feel free to submit issues and enhancement requests!
- Vision team for the automation tool
- noVNC project for browser-based VNC access
- XFCE team for the lightweight desktop environment