vnc-browser
A Lightweight, Ready-to-Use Web Browsing Environment in Docker with VNC Access
50K+
A Lightweight, Ready-to-Use Web Browsing Environment in Docker accessible via VNC or noVNC.
š Leave a star here and on GitHubā if you like this image! Thank you for your support. š
VNC-Browser is a minimal, customizable, Linux-based Docker image designed to provide a lightweight environment for browsing the web via VNC.
Available variants:
mrcolorrain/vnc-browser:debianmrcolorrain/vnc-browser:alpineThe image bundles āØ:
Built for low resource consumption and high performance, suitable for both development and production.
docker run -d -p 5900:5900 -p 6080:6080 \
--name vnc-browser \
-e VNC_PASSWORD="mypassword" \
mrcolorrain/vnc-browser:debian
version: "3.9"
services:
vnc-browser:
container_name: vnc-browser
image: mrcolorrain/vnc-browser:debian
ports:
- "5900:5900"
- "6080:6080"
environment:
VNC_PASSWORD: "mypassword"
restart: unless-stopped
After starting it then you can connect by:
localhost:6080 or from everywhere if properly configured using HOSTIP:6080localhost:5900 or from everywhere if properly configured using HOSTIP:5900You can customize the settings of the Docker container by passing environment variables during the Docker run command.
All current settings are printed in the container logs.
Examples:
STARTING_WEBSITE_URL="https://www.google.com"VNC_PASSWORD="mypassword"VNC_RESOLUTION="1280x720"AUTO_START_BROWSER=true or falseAUTO_START_XTERM=true or falseAUTO_START_WM=true or falseAUTO_START_VNC=true or falseAUTO_START_NOVNC=true or falseBROWSER_OPTIONS="--start-fullscreen --incognito"VNC_OPTIONS="-SecurityTypes None"WM_OPTIONS="-rc /app/fluxbox.conf"NOVNC_OPTIONS="--heartbeat=10"XTERM_OPTIONS="-leftbar"| Variable | Default | Description |
|---|---|---|
| VNC_DISPLAY | :0 | Display used by TigerVNC (Xvnc) |
| VNC_RESOLUTION | 1280x720 | Resolution of the VNC display |
| VNC_PASSWORD | money4band | Password for VNC access |
| VNC_PORT | 5900 | Port for VNC connections |
| NOVNC_WEBSOCKIFY_PORT | 6080 | Port for noVNC web access |
| STARTING_WEBSITE_URL | https://www.google.comā | Initial website opened in the browser |
| LANG | en_US.UTF-8 | Language setting |
| LC_ALL | C.UTF-8 | Locale setting |
| CUSTOMIZE | false | Enable custom entrypoint scripts |
| AUTO_START_BROWSER | true | Automatically start the browser |
| AUTO_START_XTERM | true | Automatically start xterm |
| AUTO_START_WM | true | Automatically start Fluxbox |
| AUTO_START_VNC | true | Automatically start TigerVNC (Xvnc) |
| AUTO_START_NOVNC | true | Automatically start noVNC |
| CUSTOM_ENTRYPOINTS_DIR | /app/custom_entrypoints_scripts | Directory for custom entrypoint scripts |
| DEBIAN_FRONTEND | noninteractive | Debian frontend mode |
| BROWSER_OPTIONS | Extra browser options | |
| VNC_OPTIONS | Extra TigerVNC (Xvnc) options | |
| WM_OPTIONS | Extra Fluxbox options | |
| NOVNC_OPTIONS | Extra noVNC options | |
| XTERM_OPTIONS | Extra xterm options |
docker run -d -p 5900:5900 -p 6080:6080 -e STARTING_WEBSITE_URL="https://www.bing.com" -e VNC_PASSWORD="mypassword" -e VNC_RESOLUTION="1920x1080" -e AUTO_START_BROWSER=true -e AUTO_START_XTERM=true mrcolorrain/vnc-browser:alpineThis image allows you to add custom scripts that will be executed when the container starts, provided customization is enabled.
docker run -d -p 5900:5900 -p 6080:6080 -v /path/to/your/scripts:/app/custom_entrypoints_scripts -e CUSTOMIZE=true mrcolorrain/vnc-browser:debianCUSTOMIZE=true to enable custom scripts execution.
For support and issues, please use the GitHub repository's issue tracker hereā .
Contributions to this Docker image are welcome. Please submit pull requests and issues to the GitHub repository hereā .
Content type
Image
Digest
sha256:e692aefebā¦
Size
472.5 MB
Last updated
4 months ago
docker pull mrcolorrain/vnc-browser