https://github.com/adimit/docker-node-chromium
Docker container to run node.js & chromium-headless for karma headless tests
https://github.com/adimit/docker-node-chromium
Last synced: 5 months ago
JSON representation
Docker container to run node.js & chromium-headless for karma headless tests
- Host: GitHub
- URL: https://github.com/adimit/docker-node-chromium
- Owner: adimit
- Created: 2017-06-29T17:39:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-21T16:42:32.000Z (about 8 years ago)
- Last Synced: 2025-09-24T21:48:55.075Z (9 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Node image with Chrome Headless
Run chrome headless with
```
chromium-browser --headless --disable-gpu
```
## Starting the docker container
Chromium needs special security permissions because of its sandbox mode. Use the
`chrome.json` [seccomp profile](https://github.com/jessfraz/dotfiles/blob/master/etc/docker/seccomp/chrome.json) by [Jessie Frazelle](https://github.com/jessfraz). It's part of this
repository, but needs to be on the docker host.
```
docker run --rm -ti --security-opt seccomp:$(pwd)/chrome.json …
```