RomanHargrave / bitwarden-rs-nginx-docker

bitwarden_rs deployment being NginX with automated SSL certificate issuance
4 stars 0 forks source link

Dies on start #3

Open scubaian opened 3 years ago

scubaian commented 3 years ago

Do you have an example docker run command, when I try to start the container I created it just dies.

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 922f9c531b37 bw/server:latest "/usr/bin/entry.sh /…" 3 minutes ago Exited (1) 5 seconds ago bitwarden

I am using the docker run command

docker run -d --name bitwarden \ -v /bw-data/:/data/ \ -e LOG_FILE=/data/bw.log \ -e LOG_LEVEL=debug -e EXTENDED_LOGGING=true \ bw/server:latest

docker images REPOSITORY TAG IMAGE ID CREATED SIZE bw/server latest bea320fbfdf9 20 minutes ago 283MB bitwardenrs/server latest 59549c5ef1f1 2 weeks ago 179MB hello-world latest 851163c78e4a 12 months ago 4.85kB

Thanks

scubaian commented 3 years ago

In addition

When I run the container in the foreground I get

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested Command not found: /sbin/start-bitwarden-nginx

Checking the image contents I can see the file

docker run -it bw/server:latest sh WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested ls sbin | grep start start-bitwarden-nginx start-stop-daemon

So I don't think it's the run command I'm getting wrong, potentially a problem with my image build. Pretty new to this so if you have any ideas I'd appreciate it.