After Docker restart the database is Gone. #3442

Closed
opened 2026-04-06 04:49:03 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @SpinB on 6/2/2019

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?

*Originally created by @SpinB on 6/2/2019* 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=<same 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?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#3442