computing:bitwarden [Haack's Wiki]

User Tools

Site Tools


  • bitwarden
  • Jonathan Haack
  • Haack's Networking

bitwarden [incomplete & non-functional, improvements from hacking club welcome]

This tutorial is for users of Debian GNU/Linux and it provides a quick overview of how to set up bitwarden community edition docker instance. As always, do not begin with setting up sensitive web-hosting environments without first securing your installation - for that, read Apache Survival first. First, install docker. Currently, the scripts below were current as of the post date below, but always check the official documentation in case this has been changed or updated.

curl -fsSL | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] \
   $(lsb_release -cs) \
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli  
sudo docker run hello-world

Now, you need to install docker compose (again, check official documentation for updates to this):

sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Now that docker is fully installed, we can install bitwarden community edition. Always check their install script and then after run it. It sets up a dokcer instance for bitwarden, so you should be aware of what the script does and where this instance is coming from, etc.

curl -Lso \
    && chmod +x    
./ install

Common bitwarden config tweaks and commands to rebuild it:

./ rebuild
./ update
./ start

BitWarden Community Edition Installation Debian Docker Installation Debian Docker Compose

oemb1905 2019/12/30 02:13

computing/bitwarden.txt · Last modified: 2019/12/29 19:30 by oemb1905