mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
After Docker restart the database is Gone. #310
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpinB on GitHub (Jun 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?
@shauder commented on GitHub (Jun 2, 2019):
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
@SpinB commented on GitHub (Jun 3, 2019):
Thanks, Flawless.
@mprasil commented on GitHub (Jun 3, 2019):
I suppose this is resolved now.