https://github.com/hex0cter/docker-nodejs-browsers
Docker image for nodejs with web browsers
https://github.com/hex0cter/docker-nodejs-browsers
browser chrome docker end2end firefox nodejs
Last synced: about 1 month ago
JSON representation
Docker image for nodejs with web browsers
- Host: GitHub
- URL: https://github.com/hex0cter/docker-nodejs-browsers
- Owner: hex0cter
- License: mit
- Created: 2020-06-09T09:04:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T12:51:35.000Z (almost 6 years ago)
- Last Synced: 2025-06-20T06:06:54.072Z (12 months ago)
- Topics: browser, chrome, docker, end2end, firefox, nodejs
- Language: Makefile
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Docker image for nodejs with Chromium and Firefox
[](https://hub.docker.com/r/hex0cter/nodejs-browsers)

[](https://hub.docker.com/r/hex0cter/nodejs-browsers)
This image allows you to run the web browser inside a docker container.
## What is included?
* alpine with X server
* firefox
* chromium
* nodejs
* yarn
* docker-cli
## Supported nodejs versions:
* 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)
## Pull the image
```bash
docker pull hex0cter/nodejs-browsers:latest
```
Please visit [docker hub](https://hub.docker.com/repository/docker/hex0cter/nodejs-browsers) for more details.
## Start a container
```bash
docker run -it --rm hex0cter/nodejs-browsers firefox
docker run -it --rm hex0cter/nodejs-browsers chrome --no-sandbox
```
## Debug mode
```bash
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).