Taking this into consideration, the docker run command could look like this: docker run -d -name bitwarden -v /bw-data/:/data/ -p 192.168.0. sudo apt install docker-ce docker-ce-cli containerd.io docker-compose How to create the Bitwarden user To be safe, we’re going to run all of this with a specific user. 192.168.0.2) and hence prevent the port from being exposed to the whole world. This way docker will bind the hostPort (e.g. You may also like to assign a fixed hostIP in case this suits your setup.Docker would throw an error message then. You might have to do this when you have a web server running and listening on port 80 already on your system. the part in front of the colon, to any (free) port you like, e.g. However, you may change the hostPort, i.e.Leave it to :80 as otherwise you cannot establish a connection to the Bitwarden WebVault in the docker image. Do not change the containerPort argument, that’s the part after the colon.So, after having installed docker through dietpi-software perform the following commands (adapted for Raspberry Pi): docker pull bitwardenrs/server:raspberryĭocker run -d -name bitwarden -v /bw-data/:/data/ -p 80:80 bitwardenrs/server:raspberry Update: you should use bitwardenrs/server instead of this mprasil image as that is the new official image.
0 Comments
Leave a Reply. |