How to clear Vaultwarden DB on Docker Desktop WSL

I’m running Vaultwarden 1.34.1 on Docker Desktop WSL and had the persistent data folder mounted on a local SSD with an NTFS filesystem.

I created a new user through the Vaultwarden HTTP interface and created a few vault test items, but to my surprise, the persistent data folder stayed empty (no files). I stopped the docker container, deleted the empty persistent data folder, and started a replacement Vaultwarden container (docker run), but for some reason it still has the old user I created previously as well as all of its vault test items.

If the Vaultwarden DB isn’t stored in the persistent data folder, where is it stored? I want to delete it and start fresh.

It should be in the data folder.
But we do not know how you created the container, so no way for anyone to provide a detailed answer.

Maybe if you provide your docker commands we can see what might be the issue.

@BlackDex Thanks for your offer to help. After rebooting my machine, it works correctly. I guess I should have done that first.