From a830828bf6d133eee68e16e636db667a7e2eacc2 Mon Sep 17 00:00:00 2001 From: Nick Fox Date: Mon, 31 Dec 2018 21:19:17 +0000 Subject: [PATCH] Created starting a container (markdown) --- starting-a-container.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 starting-a-container.md diff --git a/starting-a-container.md b/starting-a-container.md new file mode 100644 index 0000000..52104a7 --- /dev/null +++ b/starting-a-container.md @@ -0,0 +1,10 @@ +## Starting a container +The persistent data is stored under /data inside the container, so the only requirement for persistent deployment using Docker is to mount persistent volume at the path: + +``` +docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 mprasil/bitwarden:latest +``` + +This will preserve any persistent data under `/bw-data/`, you can adapt the path to whatever suits you. + +The service will be exposed on port 80. \ No newline at end of file