An open API service indexing awesome lists of open source software.

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

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 …
```