commit 556d9453960c7cbfc89088a073216996fd38cc9e parent 664b480c716da1cf49c76714abd1b6bda3262755 Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com> Date: Tue, 4 Jul 2023 20:54:05 +0200 Merge pull request #3620 from DenuxPlays/main Updated docker run command Diffstat:
M | README.md | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md @@ -38,7 +38,7 @@ Pull the docker image and mount a volume from the host for persistent storage: ```sh docker pull vaultwarden/server:latest -docker run -d --name vaultwarden -v /vw-data/:/data/ -p 80:80 vaultwarden/server:latest +docker run -d --name vaultwarden -v /vw-data/:/data/ --restart unless-stopped -p 80:80 vaultwarden/server:latest ``` This will preserve any persistent data under /vw-data/, you can adapt the path to whatever suits you.