Skip to content

Commit

Permalink
readme: add docker persist data volume
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Feb 14, 2023
1 parent cbc0a5f commit fb172ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ Carbonyl originally started as [`html2svg`](https://github.com/fathyb/html2svg)
### Docker

```shell
$ docker run --rm -ti fathyb/carbonyl https://youtube.com
$ docker run --rm -ti -v "$HOME/.local/share/carbonyl-docker:/carbonyl/data" fathyb/carbonyl https://youtube.com
```

This will persist data across runs at `"$HOME/.local/share/carbonyl-docker`.

### npm

```console
Expand Down

0 comments on commit fb172ee

Please sign in to comment.