Sign inSign up

hex0cter/nodejs-browsers

By hex0cter

•Updated over 5 years ago

Image
0

2.4K

hex0cter/nodejs-browsers repository overview

⁠Docker image for nodejs with Chromium and Firefox

Docker Image Size (tag) Build Status 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).

Tag summary

Content type

Image

Digest

Size

299.1 MB

Last updated

over 5 years ago

docker pull hex0cter/nodejs-browsers:14.17.0