All HowTo's Cybersecurity Kubernetes & Docker Linux Redhat, Fedora and CentOS Linux Ubuntu, Mint & Debian Linux

Installing Bitwarden in Docker on Fedora

This article is quick walk-through explaining how to install Bitwarden on Fedora 32 but should work on CentOS 7 and 8 as well as RHEL.

Install the docker packages:

yum install docker docker-compose
systemctl enable docker
systemctl restart docker

Download the Bitwarden scripts:

curl -Lso chmod +x

Run the script. This will create the docker-compose file:

sudo ./ install

You’ll be asked some questions such as the FQDN, to use LetsEncrypt or not, etc.
If you get a “cgroup version error”, get the solution from “”. It requires a reboot.
During the installation, you’ll be asked for the ID and key. You can get those from “”.

I got an error suggesting permission issues “Unhandled exception. System.UnauthorizedAccessException: Access to the path ‘/bitwarden/ssl/self//’ is denied”. I disabled SELinux and the problem went away. I’ll investigate this more later but for now i’ll leave it disabled to complete the installation.

Start Bitwarden within Docker:

sudo ./ start

The process starts to download the components. Finally you can view the contains using the normal docker commands:

sudo docker container ls

Make sure you have a DNS entry (in DNS or in your host file) for “ bitwarden.agix.local” where “bitwarden.agix.local” is your FQDN chosen during the installation process above/earlier.

If you get an “502 Bad Gateway” error while browsing to your Bitwarden site,make sure your firewall is configured correctly.

The first time you visit the site, you’ll need to create a new account. It will be your “master” account. Pick a good – complex password.

The website “” was used to create this article.

Leave a Reply

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