cant run docker on rpi3b #2214

Closed
opened 2025-10-09 17:51:30 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @durd on GitHub.

Hi,

I can't seem to run the docker image on an Raspberry Pi 3B v1.2. I'm fairly new to docker, if that would explain anything. Only running appliance-like stuff (ex. Hass.IO).

I set up a clean raspbian, ran sudo apt-get update; sudo apt-get upgrade and then installed docker: sudo apt-get install docker.io. I've tried mprasil/bitwarden:latest and mprasil/bitwarden:raspberry but gotten different errors:

pi@bitward:~ $ sudo docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 mprasil/bitwarden:latest
Unable to find image 'mprasil/bitwarden:latest' locally
latest: Pulling from mprasil/bitwarden
5638705fc0e7: Pull complete
8e9094bb5235: Pull complete
49ef96b4afa5: Pull complete
dd04dce130e8: Pull complete
62a2c4f23f82: Pull complete
fdfc6d2b2535: Pull complete
08a98189c9be: Pull complete
dd485ffd0e29: Pull complete
070c32300037: Pull complete
ab2bc04a4727: Pull complete
340d89e9efae: Pull complete
4aff81c3e606: Pull complete
23e8f5ae0909: Pull complete
c7dfae245420: Pull complete
Digest: sha256:f2c5b224f229e38072d197bd9b52b6f58da2c08a651285dcf6091d6cf974da3d
Status: Downloaded newer image for mprasil/bitwarden:latest
WARNING: Your kernel does not support memory swappiness capabilities, memory swappiness discarded.
5873bbb8c1b8edf8da79cf8b9d4271d477b3f554104c6b061a946f9b179251a2
Error response from daemon: Cannot start container 5873bbb8c1b8edf8da79cf8b9d4271d477b3f554104c6b061a946f9b179251a2: [8] System error: exec format error

And:

pi@bitward:~ $ sudo docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 mprasil/bitwarden:raspberry
Unable to find image 'mprasil/bitwarden:raspberry' locally
raspberry: Pulling from mprasil/bitwarden
25be8969e464: Pulling fs layer
20ef00842644: Pulling fs layer
9aea54f7adc6: Pulling fs layer
4abe51dec689: Pulling fs layer
ea3a2671ce23: Pulling fs layer
c30d2721e21a: Pulling fs layer
a092175b8364: Pulling fs layer
1cd2be7ca550: Pulling fs layer
0433202461d0: Pulling fs layer
568b33a480fb: Pulling fs layer
5e71f5c0ee51: Pulling fs layer
df7769b49952: Pulling fs layer
a2c5f6a88961: Pulling fs layer
e8c6bf934dae: Pulling fs layer
a0a0fde91635: Pulling fs layer
4e7f84f50cb6: Pulling fs layer
0050d24299e5: Pulling fs layer
77ce8915dc5f: Pulling fs layer
f89611cce391: Pulling fs layer
965d82ebe280: Pulling fs layer
4561570e3020: Pulling fs layer
dafd803eff8a: Pulling fs layer
fca4090d1d12: Pulling fs layer
def186fe47d8: Pulling fs layer
caac6782da57: Pulling fs layer
7dda04dadc6f: Pulling fs layer
a3364f700129: Pulling fs layer
86f8d7d5c2a1: Pulling fs layer
Pulling repository docker.io/mprasil/bitwarden
Tag raspberry not found in repository docker.io/mprasil/bitwarden

I can't figure out why docker wouldn't be able to find the tag, the tag is there on the io-page... :)

Any ideas?

pi@bitward:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.6 (stretch)
Release:	9.6
Codename:	stretch
pi@bitward:~ $ uname -a
Linux bitward 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
Originally created by @durd on GitHub. Hi, I can't seem to run the docker image on an Raspberry Pi 3B v1.2. I'm fairly new to docker, if that would explain anything. Only running appliance-like stuff (ex. Hass.IO). I set up a clean raspbian, ran `sudo apt-get update; sudo apt-get upgrade` and then installed docker: `sudo apt-get install docker.io`. I've tried `mprasil/bitwarden:latest` and `mprasil/bitwarden:raspberry` but gotten different errors: ``` pi@bitward:~ $ sudo docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 mprasil/bitwarden:latest Unable to find image 'mprasil/bitwarden:latest' locally latest: Pulling from mprasil/bitwarden 5638705fc0e7: Pull complete 8e9094bb5235: Pull complete 49ef96b4afa5: Pull complete dd04dce130e8: Pull complete 62a2c4f23f82: Pull complete fdfc6d2b2535: Pull complete 08a98189c9be: Pull complete dd485ffd0e29: Pull complete 070c32300037: Pull complete ab2bc04a4727: Pull complete 340d89e9efae: Pull complete 4aff81c3e606: Pull complete 23e8f5ae0909: Pull complete c7dfae245420: Pull complete Digest: sha256:f2c5b224f229e38072d197bd9b52b6f58da2c08a651285dcf6091d6cf974da3d Status: Downloaded newer image for mprasil/bitwarden:latest WARNING: Your kernel does not support memory swappiness capabilities, memory swappiness discarded. 5873bbb8c1b8edf8da79cf8b9d4271d477b3f554104c6b061a946f9b179251a2 Error response from daemon: Cannot start container 5873bbb8c1b8edf8da79cf8b9d4271d477b3f554104c6b061a946f9b179251a2: [8] System error: exec format error ``` And: ``` pi@bitward:~ $ sudo docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 mprasil/bitwarden:raspberry Unable to find image 'mprasil/bitwarden:raspberry' locally raspberry: Pulling from mprasil/bitwarden 25be8969e464: Pulling fs layer 20ef00842644: Pulling fs layer 9aea54f7adc6: Pulling fs layer 4abe51dec689: Pulling fs layer ea3a2671ce23: Pulling fs layer c30d2721e21a: Pulling fs layer a092175b8364: Pulling fs layer 1cd2be7ca550: Pulling fs layer 0433202461d0: Pulling fs layer 568b33a480fb: Pulling fs layer 5e71f5c0ee51: Pulling fs layer df7769b49952: Pulling fs layer a2c5f6a88961: Pulling fs layer e8c6bf934dae: Pulling fs layer a0a0fde91635: Pulling fs layer 4e7f84f50cb6: Pulling fs layer 0050d24299e5: Pulling fs layer 77ce8915dc5f: Pulling fs layer f89611cce391: Pulling fs layer 965d82ebe280: Pulling fs layer 4561570e3020: Pulling fs layer dafd803eff8a: Pulling fs layer fca4090d1d12: Pulling fs layer def186fe47d8: Pulling fs layer caac6782da57: Pulling fs layer 7dda04dadc6f: Pulling fs layer a3364f700129: Pulling fs layer 86f8d7d5c2a1: Pulling fs layer Pulling repository docker.io/mprasil/bitwarden Tag raspberry not found in repository docker.io/mprasil/bitwarden ``` I can't figure out why docker wouldn't be able to find the tag, the tag is there on the io-page... :) Any ideas? ``` pi@bitward:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.6 (stretch) Release: 9.6 Codename: stretch pi@bitward:~ $ uname -a Linux bitward 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux ```
Author
Owner

@dani-garcia commented on GitHub:

The version of docker in the repos tends to be pretty old, can you do docker --version?

You might need to install a more recent docker version directly from their page.

@dani-garcia commented on GitHub: The version of docker in the repos tends to be pretty old, can you do `docker --version`? You might need to install a more recent docker version directly from their page.
Author
Owner

@mprasil commented on GitHub:

Hi, you definitely need to use the raspberry image, the latest image is x86_64 only. I just tried to pull the image now and it worked, perhaps some issue on the docker side?

@mprasil commented on GitHub: Hi, you definitely need to use the `raspberry` image, the `latest` image is x86_64 only. I just tried to pull the image now and it worked, perhaps some issue on the docker side?
Author
Owner

@durd commented on GitHub:

Yeah, it was the repos version of docker that was "bad".

Used the official curl -sSL https://get.docker.com | sh and re-ran the pull of the raspberry-tag and it downloaded just fine.

Thanks for the help, please close the issue.

@durd commented on GitHub: Yeah, it was the repos version of docker that was "bad". Used the official `curl -sSL https://get.docker.com | sh` and re-ran the pull of the raspberry-tag and it downloaded just fine. Thanks for the help, please close the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#2214