Technology and General Blog

Bitwarden is a potent open-supply password supervisor app that makes it possible for you to customize and configure protection for password administration in a centralized locale you manage.

Bitwarden is extremely customizable, lightweight, and delivers users with an API and browser extension to assistance customers handle their passwords competently. Bitwarden also provides a cell application, enabling you to synchronize all your particular information throughout all your gadgets.

A self-hosted password supervisor is powerful and a superior choice because you are accountable for all the protection and the functions you deem fit. In circumstance of compromise, you are in management of what happens to your facts.

This tutorial will stroll you by way of how to set up a particular password supervisor using Bitwarden and Docker.

Let us get begun:

Phase 1: Put in Docker and Docker Compose

The really to start with factor we need to have to do is to set up the server and all the necessary factors. It is recommended you run a Linux server as it has most of the dependencies needed, and it is less difficult to manage than other functioning methods.

In advance of putting in Docker and Docker Compose on your server, ensure you have the DNS solutions and the names configured appropriately to set up the password supervisor on a domain title.

Step 2: Install Docker Motor

Next, start off by removing the more mature versions of Docker and the Docker parts. If you have a new server, skip this step:

sudo apt-get eliminate docker docker-motor containerd runc

Future, we will need to established up the repositories working with the commands under:

sudo apt-get update && sudo apt-get install curl gnupg lsb-launch ca-certificates apt-transportation-https -y

The subsequent move is to include the Docker Repository GPG key employing the command:

curl -fsSL https://down | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

In the subsequent move, established up the repository in the sources.listing file working with the command:


“deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg]

$(lsb_launch -cs) secure”
| sudo tee /etc/apt/sources.list.d/docker.listing > /dev/null

Last but not least, update the repositories and set up docker:

sudo apt-get update

sudo apt-get set up docker-ce docker-ce-cli

Note: The Docker set up manual provided in this tutorial is for Ubuntu servers. For your precise distro, check the Docker documentation.

Step 3: Put in Docker Compose

For the subsequent step, we want to set up Docker Compose. Make certain you have the Docker Motor set up as the Docker Compose depends on it to complete its operations:

sudo curl -L “$(uname -s)$(uname -m) -o /usr/nearby/bin/docker-compose

Insert execute permissions to the binary:

sudo chmod +x /usr/nearby/bin/docker-compose

Now, you have correctly installed Docker and Docker compose. We can now go to start the Bitwarden password manager on the server.

Phase 4: Launch Bitwarden on Docker

As soon as all the necessities are met, we can use the offered Bash script to put in and configure the Bitwarden.

Use the command under to down load and launch the installation script. In advance of executing, you can evaluation the script and be certain you are at ease with the steps to be done:

curl -Lso

In the subsequent step, transform the script permissions as:

The moment you have verified the actions operate by the script, start the installer employing the command:

sudo ./ set up

This command ought to launch the installer script, which will interactively check with you for data as the set up course of action continues:

The very first move is to set up the domain name for your password supervisor. The value really should be configured in the DNS documents of your server.

In the upcoming stage, decide on whether or not you would like to set up a Let us Encrypt SSL certification. Make certain you have a valid area just before deciding upon this option, as the set up will fail if the area is incorrect.

Once Docker has pulled and extracted the graphic, you will be required to present the Bitwarden installation ID and Essential.

Navigate to the next source to make your installation ID and password:

Move forward with the set up course of action and set up an SSL certification. If you have presently generated just one, supply the path, or if not, make a self-signed copy.

Phase 5: Run Bitwarden

At the time you have all the things configured properly, use the script to commence Bitwarden.

Take note: You can edit the variations and the configuration configurations in the ./bwdata/config.yml file.

Now run:

sudo ./ start off

The script higher than will launch Docker and pull many dependencies—the Docker Compose file, including photos such as: wide web

And others.

When all the illustrations or photos are downloaded and extracted, the script will operate the Docker and established up the Bitwarden.

Action 6: Configure Bitwarden

After the Bitwarden is efficiently established up on your server, navigate to the tackle you set up all through the set up and produce a new account:

Now that you have designed an account, log in to your Bitwarden dashboard to configure the several configurations and capabilities.


With that, you have correctly put in and configured the Bitwarden Password Manager on your server. Making use of the techniques in this tutorial, you will have entire command of your passwords and individual data.

Leave a Reply

Your email address will not be published. Required fields are marked *