Bitwarden_rs: After Docker restart the database is Gone.

Created on 2 Jun 2019  路  3Comments  路  Source: dani-garcia/bitwarden_rs

Hello,

I'm running Bitwarden_rs in a windows server with IIS as a reverse proxy, everything works fine but every time i restart docker, puff the database is gone, the first time i run it i used the following commands like described in the wiki:

docker run -d --name bitwarden -e ADMIN_TOKEN= -v /bw-data/:/data/ -p 911:80 bitwardenrs/server:latest

and every time i start bitwarden i use this command since run doens't work on a container that already have run

docker start bitwarden

Do i need to add any additional commands to avoid this behavior, also how do i force the container to always restart with docker?

question

Most helpful comment

My guess would be that if you are on Windows then you may need to adjust the path for a proper Windows directory.

https://rominirani.com/docker-on-windows-mounting-host-directories-d96f3f056a2c

All 3 comments

My guess would be that if you are on Windows then you may need to adjust the path for a proper Windows directory.

https://rominirani.com/docker-on-windows-mounting-host-directories-d96f3f056a2c

Thanks, Flawless.

I suppose this is resolved now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  6Comments

jjlin picture jjlin  路  5Comments

mprasil picture mprasil  路  4Comments

Zuwizara picture Zuwizara  路  6Comments

mrtargaryen picture mrtargaryen  路  5Comments