This image allows you to run the web browser inside a docker container.
- alpine with X server
- firefox
- chromium
- nodejs
- yarn
- docker-cli
- 10.x.x
- 11.x.x
- 12.x.x
- 13.x.x
- 14.x.x
(Note ".x.x" above stands for the latest minor version)
docker pull hex0cter/nodejs-browsers:latest
Please visit docker hub for more details.
docker run -it --rm hex0cter/nodejs-browsers firefox
docker run -it --rm hex0cter/nodejs-browsers chrome --no-sandbox
docker run -it --rm -e DEBUG=true -p 5900:5900 hex0cter/nodejs-browsers firefox
docker run -it --rm -e DEBUG=true -p 5900:5900 hex0cter/nodejs-browsers chrome --no-sandbox
When DEBUG=true, the VNC server will be started, so you can access the container's GUI from any VNC viewer (port 5900).