portainer: Portainer 2.0 with RPI 4 and Raspberry Pi OS (64 bit) problem

I try to install Portainer 2.0 on a RaspBerry PI4 with a Raspberry PI OS 64 bit OS, but i get this error:

**pi@raspberrypi:~ $ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
Unable to find image 'portainer/portainer-ce:latest' locally
latest: Pulling from portainer/portainer-ce
b890dbc4eb27: Pull complete
f90a4cb1da73: Pull complete
Digest: sha256:83551df73d724a2ea489400d90f7652deb5fcf4d620add018c1923f27d522bac
Status: Downloaded newer image for portainer/portainer-ce:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
fe0028bb19e080d0152f69beaa00b028934cb0bc801faef806ce0eb606681ca8**

Here is the output of the lscpu command:

**pi@raspberrypi:~ $ lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               3
Model name:          Cortex-A72
Stepping:            r0p3
CPU max MHz:         1500,0000
CPU min MHz:         600,0000
BogoMIPS:            108.00
Flags:               fp asimd evtstrm crc32 cpuid**

And here is the version of Docker:

**pi@raspberrypi:~ $ docker version

Client: Docker Engine - Community
 Version:           20.10.1
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        831ebea
 Built:             Tue Dec 15 04:35:39 2020
 OS/Arch:           linux/arm64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.1
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       f001486
  Built:            Tue Dec 15 04:33:40 2020
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.4.3
  GitCommit:        269548fa27e0089a8b8278fc4fc781d7f65a939b
 runc:
  Version:          1.0.0-rc92
  GitCommit:        ff819c7e9184c13b7c2607fe6c30ae19403a7aff
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0**

If I check it seems working:

pi@raspberrypi:~ $ docker ps
CONTAINER ID   IMAGE                           COMMAND                  CREATED          STATUS          PORTS                              NAMES
fe0028bb19e0   portainer/portainer-ce:latest   "/portainer"             19 seconds ago   Up 16 seconds   8000/tcp, 0.0.0.0:9000->9000/tcp   nifty_brattain

But if i go to a browser and i connect to the port 9000 i get this error message:

 **This feature is not available with Docker on Windows yet.
On Linux / Mac, ensure that you have started Portainer container with the following Docker flag -v "/var/run/docker.sock:/var/run/docker.sock"
 Unable to create endpoint**

Where am i wrong? thank you for te time you dedicate in helping me. Greetings from Italy.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 31 (6 by maintainers)

Most upvoted comments

Just did a test and it appears to be successful on my rpi4 8GB running Ubuntu Server 20.04 LTS 64-bit.

I ran the following: docker run -d -p 8000:8000 -p 9000:9000 --name=portainertest --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainertest_data:/data portainerci/portainer:develop

It came back with Unable to find image 'portainerci/portainer:develop' locally develop: Pulling from portainerci/portainer b890dbc4eb27: Pull complete c8fa7836fb5f: Pull complete Digest: sha256:49b5e4ec7414df20ab8c524f6dddd0bf14208c373b619010d2e4641c7adacdf9 Status: Downloaded newer image for portainerci/portainer:develop

Just did a cursory check of the UI and basic stuff works. Progress! Thanks

We’re currently investigating a solution for that problem and we’ll try to solve it ASAP, we do not any solution for this yet as we’re still discussing it but it seems that we’ll need to review our build pipeline and potentially review the portainer/base image.

Thank you for the quick feedback everyone!

This fix will be included in the next release (2.1, ETA end of January 2021). In the meantime, you can use our development build (portainerci/portainer:develop) but be aware that we do not recommend running this one in any production environment as it has not been tested yet.

@gruijter we just updated that image with arm v7 support, keen to give it a try?

Just tried via my phone, and no errors this time 🥳

Will test some more later, but looking good so far. Many thx!

@deviantony Thx for your effort, but alas, still same issue on mi pi4 (32bit)

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested

when trying to run with --platform=linux/arm/v7 I get Error response from daemon: image with reference portainerci/portainer:develop was found but does not match the specified platform: wanted linux/arm/v7, actual: linux/amd64.

Are you building from a amd64 machine in stead of an arm machine?

Installing portainer on my rp3 running raspberry pi os lite 64bit and this worked for me.

Thanks

I have resolved. I write down the commands i have used so that may be it could be useful also for other people: First i have downloaded the image with: docker pull portainer/portainer-ce:linux-arm

the system confirmed that it has been downloaded the 2.0.1 version (the latest available today).

pi@raspberrypi:~ $ docker pull portainer/portainer-ce:linux-arm
linux-arm: Pulling from portainer/portainer-ce
b890dbc4eb27: Already exists 
d39f4eb29d9f: Pull complete 
Digest: sha256:ffd59292a3253137569609fba72ad2e572b050ba9deb1a7b9a94d388693f236a
Status: Downloaded newer image for portainer/portainer-ce:linux-arm
docker.io/portainer/portainer-ce:linux-arm

Now i have started a new istance of this new image of portainer exposing the port 7000 (since the 9000 it was already occupied by the old 2.0.0 version):

pi@raspberrypi:~ $ docker run --name portainer_2_0_1 -d -p 7000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data_201:/data portainer/portainer-ce:linux-arm
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
6f431a95bb40d4e1bd3f4cc915a3d1c23ecec778a3f46900239629a8770ee040

I countinued receiving a message informing me that the requested platform requested (amd64) does not match the host platform (arm64/v8) ....buti now it works fine..



Sorry for the delay!

Try to follow the steps in my tutorial at https://www.letscloud.io/community/how-to-install-portainer

Hello!

Remove the flag.