I’m very new to docker and self hosting. I have docker desktop and windows. I got the docker up and running using the instructions everything seemed fine. Had a user, stored some passwords. Well windows needed to do an update (go figure), so I stopped the docker and restarted windows. Now no user exists? I tested this and every time I close docker desktop, the users go away. I need to learn or can someone tell me how to setup persistent storage? I made it with the compose from the github.
Could you be a bit more specific? Which instructions are you using? And what “compose from the github” are you referring to?
I need to learn or can someone tell me how to setup persistent storage?
Since I’m not sure what you did or what you know, I would recommend you read about Persisting container data | Docker Docs, Volumes | Docker Docs and Bind mounts | Docker Docs
Also I’m not sure if there’s something more to consider when using docker desktop but I’m hoping that you did not set I_REALLY_WANT_VOLATILE_STORAGE=true as environment variable.
Make sure all your VaultWarden data is stored outside the container!
You do this by e.g. using a docker compose file with a volume key pointing to a shared folder somewhere. By default all data is stored inside the container and it will be erased every time your restart the container. That’s how container technology works.