Adguardhome: Wrong OS/ARCH for Docker Image

Created on 17 Dec 2019  路  10Comments  路  Source: AdguardTeam/AdGuardHome

For the Docker Images on hub.docker.com the wrong OS/ARCH is shown:

For example for the image tagged with arm64-latest the OS/ARCH is linux/amd64.
The correct OS/ARCH should be linux/arm/v6

Because of this issue the container could not be deployed via docker swarm on a raspberry node. The swarm manager does not deploy it because of the incorrect CPU Architecture.

High bug help wanted

All 10 comments

Got it, thanks for reporting it!

@DreyerAc
Do you know what we should fix exactly?
For example, here https://hub.docker.com/r/multiarch/alpine/tags there are only linux/amd64 too.

@szolin he mean about that https://hub.docker.com/_/alpine?tab=tags

In order to achieve this, we should start pushing multi-platform images: https://www.docker.com/blog/multi-arch-all-the-things/

On on Raspberry Pi Docker Swarm Cluster I麓ve tried to scale the container to 1 node with the following command:

_docker service scale adguard=1_

The Output is the following:
_adguard scaled to 1
overall progress: 0 out of 1 tasks
1/1: no suitable node (unsupported platform on 3 nodes)_

I thing thats because of the wrong architecture information on docker hub like write from @ArchiveBase

Well, I more or less understand what the problem is. However, we're not experts at docker so it will take some time to figure out how to fix it properly:)

@ameshkov While waiting for #1718 to be reviewed, do you want me to create another PR about this issue to get a multi-arch image?

@crazy-max would be great, thank you!

Btw, is #1718 ready to be reviewed? I see it's marked as WIP

@ameshkov Yes it's ready :) Just missing documentation to update

Great! I'll need to do some work to merge it and make our internal CI work with it as well so please don't worry if that will take some time. Hopefully, next week I'll be able to come up with something.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ameshkov picture ameshkov  路  3Comments

TXC picture TXC  路  3Comments

xenio picture xenio  路  4Comments

ameshkov picture ameshkov  路  3Comments

Iconology picture Iconology  路  3Comments