Standalone noVNC client based on Alpine (available on Docker Hub). It allows to autoconnect to the VNC server, pass the VNC password, and set view-only mode usin environment variables.
The following example use Chrome in Docker (image created and maintained by Selenium) which starts a VNC server:
- Start Docker container with VNC server:
docker run --rm -p 4444:4444 -p 5900:5900 --net grid --name selenium --shm-size="2g" selenium/standalone-chrome:latest
- Start Docker container with noVNC:
docker run --rm --name novnc -p 6080:6080 --net grid -e AUTOCONNECT=true -e VNC_PASSWORD=secret -e VNC_SERVER=172.17.0.1:5900 bonigarcia/novnc:1.2.0
- Connect to: http://localhost:6080/
This approach is used in WebDriverManager.
bonigarcia/novnc (Copyright © 2021-2025) is an open-source project created and maintained by Boni García, licensed under the terms of Apache 2.0 License.