Skip to content

hex0cter/docker-nodejs-browsers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for nodejs with Chromium and Firefox

Docker Image Size (tag) Travis (.org) Docker Pulls

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

docker pull hex0cter/nodejs-browsers:latest

Please visit docker hub for more details.

Start a container

docker run -it --rm hex0cter/nodejs-browsers firefox
docker run -it --rm hex0cter/nodejs-browsers chrome --no-sandbox

Debug mode

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).

Releases

No releases published

Packages

No packages published