[SOLVED] bitwarden docker image

It is the first time that i use docker, so maybe there is the problem.

I installed docker and the bitwarden_rs docker image:

It is an Bitwarden server API implementation written in Rust compatible with upstream Bitwarden clients, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.
So it should run on raspberries and odroids.

Just install docker by the dietpi-software-tool and enter

sudo docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 mprasil/bitwarden:raspberry

Everything else will be installed automatically.
Then you can login at http://<>:80 and start your password-manager.

Update: you should use bitwardenrs/server instead of this mprasil image as that is the new official image. Explanation below shows how to.

So, after having installed docker through dietpi-software perform the following commands (adapted for Raspberry Pi):

docker pull bitwardenrs/server:raspberry
docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 bitwardenrs/server:raspberry


  • Do not change the containerPort argument, that’s the part after the colon. Leave it to :80 as otherwise you cannot establish a connection to the Bitwarden WebVault in the docker image.
  • However, you may change the hostPort, i.e. the part in front of the colon, to any (free) port you like, e.g. 4567. You might have to do this when you have a web server running and listening on port 80 already on your system. Docker would throw an error message then.
  • You may also like to assign a fixed hostIP in case this suits your setup. This way docker will bind the hostPort (e.g. 4567) to that particular IP (e.g. and hence prevent the port from being exposed to the whole world.

Taking this into consideration, the docker run command could look like this:

docker run -d --name bitwarden -v /bw-data/:/data/ -p bitwardenrs/server:raspberry

Further information can be found here: