Browse Source

updated docker run command

pull/3620/head
Timon Klinkert 2 years ago
committed by GitHub
parent
commit
e4894524e4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md

2
README.md

@ -38,7 +38,7 @@ Pull the docker image and mount a volume from the host for persistent storage:
```sh ```sh
docker pull vaultwarden/server:latest 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. This will preserve any persistent data under /vw-data/, you can adapt the path to whatever suits you.

Loading…
Cancel
Save