On premise uninstall procedure


#1

I’d like to uninstall the on premise setup I made following the installation guide. Apparently the ./bitwarden.sh command doesn’t implement an uninstall action.

I assume it’s enough to delete bwdata and bw root dir, but I was wondering if something needs to be cleaned on the Docker side.

Thanks


#2

If BW is the only Docker thing you have on your system and you want to clean that up, you can do this :

docker container ls
docker container stop <bitwarden container's ID>
docker system prune --volumes

This will stop BW and clean all docker-related data on your system (container, images, volumes, networks)


#3

I do have other containers running :wink:

I’m not very familiar with docker, but I suspect there are offline cached images and stuff that can be cleaned up. I’ll have a look