Created starting a container (markdown)

Nick Fox
2018-12-31 21:19:17 +00:00
parent d038ceb8a4
commit a830828bf6

10
starting-a-container.md Normal file

@@ -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.