From 016f9644b4ef74f864fbbb7c531162e77241b46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Proxymiity=20=E2=98=86?= Date: Thu, 29 Apr 2021 20:14:46 +0200 Subject: [PATCH] Changed bw-data to vw-data according to the README --- Starting-a-Container.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Starting-a-Container.md b/Starting-a-Container.md index 48060e4..0dd731a 100644 --- a/Starting-a-Container.md +++ b/Starting-a-Container.md @@ -6,15 +6,15 @@ The persistent data is stored under /data inside the container, so the only requ ```sh # using Docker: -docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 vaultwarden/server:latest +docker run -d --name bitwarden -v /vw-data/:/data/ -p 80:80 vaultwarden/server:latest # using Podman as non-root: -podman run -d --name bitwarden -v /bw-data/:/data/:Z -e ROCKET_PORT=8080 -p 8080:8080 vaultwarden/server:latest +podman run -d --name bitwarden -v /vw-data/:/data/:Z -e ROCKET_PORT=8080 -p 8080:8080 vaultwarden/server:latest # using Podman as root: -sudo podman run -d --name bitwarden -v bw-data:/data/:Z -p 80:80 vaultwarden/server:latest +sudo podman run -d --name bitwarden -v vw-data:/data/:Z -p 80:80 vaultwarden/server:latest ``` -This will preserve any persistent data under `/bw-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. The service will be exposed on host-port 80 or 8080. @@ -24,7 +24,7 @@ If your docker/vaultwarden runs on a device with a fixed IP, you can bind the ho ``` # using Docker: -docker run -d --name bitwarden -v /bw-data/:/data/ -p 192.168.0.2:80:80 vaultwarden/server:latest +docker run -d --name bitwarden -v /vw-data/:/data/ -p 192.168.0.2:80:80 vaultwarden/server:latest ``` # Starting the container