Skip to content

Commit

Permalink
removed obsolete ref to cap-add in README
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Feb 2, 2023
1 parent 4b7e504 commit af9a3d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@ The image accepts the following parameters, **as well as any of the [warc2zim](h
- `--scroll [N]` - if set, will activate a simple auto-scroll behavior on each page to scroll for upto N seconds
- `--keep` - if set, keep the WARC files in a temp directory inside the output directory

The following is an example usage. The `--cap-add` and `--shm-size`
flags are [needed to run Chrome in Docker](https://github.com/puppeteer/puppeteer/blob/v1.0.0/docs/troubleshooting.md#tips).
The following is an example usage. The `--shm-size` flags is [needed to run Chrome in Docker](https://github.com/puppeteer/puppeteer/blob/v1.0.0/docs/troubleshooting.md#tips).

Example command:

```bash
docker run openzim/zimit zimit --help
docker run openzim/zimit warc2zim --help
docker run -v /output:/output --cap-add=SYS_ADMIN --cap-add=NET_ADMIN \
docker run -v /output:/output \
--shm-size=1gb openzim/zimit zimit --url URL --name myzimfile --workers 2 --waitUntil domcontentloaded
```

Expand Down

0 comments on commit af9a3d2

Please sign in to comment.