From fb172eee25510b50dcd366e10e12e932fe9c4db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 14 Feb 2023 07:30:52 +0200 Subject: [PATCH] readme: add docker persist data volume --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b17b077..f179832 100644 --- a/readme.md +++ b/readme.md @@ -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