Headless Chrome and Firefox with Node 8
10K+
Ideal for running end-to-end integration tests in CI.
docker run -itv $PWD:/tests fritteli/headless-nodejs
This will open a bash prompt where you can npm install && npm test or whatever.
Start Firefox with firefox --headless.
Start Chrome with google-chrome --headless --disable-gpu --no-sandbox.
Headless Chrome currently requires the --no-sandbox flag in order to run in a container.
This is potentially unsafe so you should not use it on untrusted sites.
Image includes yarn, git and build-essential required for building native NPM modules.
Content type
Image
Digest
Size
417 MB
Last updated
about 6 years ago
docker pull fritteli/headless-nodejs