- Bitwarden offers a variety of different installation options for the desktop application. You can find them all listed below. Some options are not capable of automatic updates and are labeled as such. You should always keep Bitwarden applications up to date.
- The Bitwarden Vulnerability Disclosure Program enlists the help of the hacker community at HackerOne to make Bitwarden more secure. HackerOne is the #1 hacker-powered security platform, helping organizations find and fix critical vulnerabilities before they can be criminally exploited.
- Bitwarden is the easiest and safest way to store all of your logins and passwords while conveniently keeping them synced between all of your devices. Password theft is a serious problem. The websites and apps that you use are under attack every day. Security breaches occur.
- Bitwarden provides a shell script for easy installation on Linux and macOS (Bash), or Windows (PowerShell). Complete the following steps to install Bitwarden using the shell script: (Linux Only) If you’ve completed the Docker Post-Installation steps, do so as the bitwarden.
The installation of the official bitwarden server repository via docker is heavy, difficult and relies on docker, which isn’t supported at uberspace due to the fact of shared hosting. In this guide we’ll use the Rust implementation Bitwardenrs of the Bitwarden API, so you can still use the official clients.
Estimated reading time: 3 minutes
Docker provides restart policiesto control whether your containers start automatically when they exit, or whenDocker restarts. Restart policies ensure that linked containers are started inthe correct order. Docker recommends that you use restart policies, and avoidusing process managers to start containers.
Restart policies are different from the
--live-restore flag of the
--live-restore allows you to keep your containers runningduring a Docker upgrade, though networking and user input are interrupted.
Use a restart policy
To configure the restart policy for a container, use the
--restart flagwhen using the
docker run command. The value of the
--restart flag can beany of the following:
|Do not automatically restart the container. (the default)|
|Restart the container if it exits due to an error, which manifests as a non-zero exit code.|
|Always restart the container if it stops. If it is manually stopped, it is restarted only when Docker daemon restarts or the container itself is manually restarted. (See the second bullet listed in restart policy details)|
|Similar to |
Bitwarden Docker Autostart
The following example starts a Redis container and configures it to alwaysrestart unless it is explicitly stopped or Docker is restarted.
This command changes the restart policy for an already running container named
And this command will ensure all currently running containers will be restarted unless stopped.
Restart policy details
Keep the following in mind when using restart policies:
A restart policy only takes effect after a container starts successfully. Inthis case, starting successfully means that the container is up for at least10 seconds and Docker has started monitoring it. This prevents a containerwhich does not start at all from going into a restart loop.
If you manually stop a container, its restart policy is ignored until theDocker daemon restarts or the container is manually restarted. This is anotherattempt to prevent a restart loop.
Restart policies only apply to containers. Restart policies for swarmservices are configured differently. See theflags related to service restart.
Use a process manager
Bitwarden Docker Autostart
If restart policies don’t suit your needs, such as when processes outsideDocker depend on Docker containers, you can use a process manager such asupstart,systemd, orsupervisor instead.
Do not try to combine Docker restart policies with host-level process managers,because this creates conflicts.
To use a process manager, configure it to start your container or service usingthe same
docker start or
docker service command you would normally use tostart the container manually. Consult the documentation for the specificprocess manager for more details.
Using a process manager inside containers
Process managers can also run within the container to check whether a process isrunning and starts/restart it if not.
These are not Docker-aware and just monitor operating system processes withinthe container. Docker does not recommend this approach, because it isplatform-dependent and even differs within different versions of a given Linuxdistribution.containers, restart, policies, automation, administration