From e4894524e45ce478f8e2439cd05b6342696615d1 Mon Sep 17 00:00:00 2001 From: Timon Klinkert <83671398+DenuxPlays@users.noreply.github.com> Date: Mon, 26 Jun 2023 00:31:40 +0200 Subject: [PATCH] updated docker run command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dc98d41d..b7294428 100644 --- 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.