How to use a specific image in a docker manifest list?

Hi,

At site https://hub.docker.com/r/nodered/node-red/tags (see screenshot below) you can see that there are multiple images for tag latest. In my dockerfile I want to specify the image corresponding to architecture arm/v7 (as I am deploying it on a raspberry pi). I have no idea how I can do that in my dockerfile. If I only specify the tag latest then it is selecting an image with wrong architecture.

As workaround, I have searched for a tag that has only one image that is specific for architecture arm/v7 e.g. I had specified the following in my docker file:

FROM nodered/node-red:1.0.0-1-12-arm32v7

Hi @janvda
This is a known issue with our cloud builder. Unfortunately, it currently does not support multi-arch image tags.

As a workaround, you can set an architecture-specific tag in your docker-compose files. For instance,

image: docker.io/nodered/node-red:latest@sha256:cd00b66edbbab6519eaf15778af6a4e67e524a9a446bc5b1859c82c46d0014de

(I took the digest from the architecture-specific page on dockerhub)

We’ll update this thread once the issue is fixed.
Hope this helps.

1 Like