-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coredns-arm64 docker images tagged with incorrect architecture (amd64) #5199
Comments
@bpetrikovics There was an effort to fix this though the hard requirement of binfmt/qemu broke our build system so it was reverted: #4779 (comment) |
@bpetrikovics On a side note, are you facing the issue with coredns/coredns:latest (with manifest) as well on arm64? |
The manifest of coredns/coredns seems to be right:
|
Using coredns/coredns:latest works, even though it also has architecture set to amd64. $ docker service ls | grep coredns $ docker service logs -f kvkei854o970 $ docker inspect coredns/coredns:latest | grep Arch So at this point I'm fine, thank you. It just means that people shouldn't use the arch specific images, but rather the "plain" coredns/coredns? |
@bpetrikovics I think the issue is rather the confusion that arch-specific image tags are "visible". Ideally, only plain All arch-specific images should only be referenced in manifest and downloadable, not through tags. As a comparison, as far as I can see it looks like python does not have arch-specific images tagged, only one tag with all archs: Maybe we can just delete the tags of all arch-specific images so they will not be "visible". |
Added a PR #5201. |
What happened:
Cannot deploy coredns-arm64 image in an arm64 swarm (e.g. as a service/stack) because the image architecture is set to amd64. Apparently image architecture is not checked if not running in swarm mode/as service, can deploy as expected with docker-compose. However it does not work in a swarm.
When attempting, the service is not deployed and stays in pending state.
Issue can be found by checking the service state and inspecting the image:
What you expected to happen:
Image architecture is properly set and can be deployed on amd64 hosts.
How to reproduce it (as minimally and precisely as possible):
Deploy the image on an arm64 host as service (e.g. in swarm mode).
Anything else we need to know?:
Environment:
cat /etc/os-release
): Debian GNU/Linux 11 (bullseye)3-0debian-bullseyeEdit: fixed typo + added uname output
The text was updated successfully, but these errors were encountered: