Skip to content
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

bug: https://hub.docker.com/r/arm32v6/alpine/ #194

Closed
userdocs opened this issue Aug 1, 2021 · 8 comments
Closed

bug: https://hub.docker.com/r/arm32v6/alpine/ #194

userdocs opened this issue Aug 1, 2021 · 8 comments

Comments

@userdocs
Copy link

userdocs commented Aug 1, 2021

Since this update i am seeing this error in github actions

Run docker run --name multiarch -it -d -w /root -e CXXFLAGS="--static -static -std=c++17" -e CPPFLAGS="--static -static" -e LDFLAGS="--static -static" --platform linux/arm/v6 -v /home/runner/work/iperf3-static/iperf3-static:/root arm32v6/alpine:edge
Unable to find image 'arm32v6/alpine:edge' locally
edge: Pulling from arm32v6/alpine
0d0f9d41af7f: Pulling fs layer
0d0f9d41af7f: Verifying Checksum
0d0f9d41af7f: Download complete
0d0f9d41af7f: Pull complete
Digest: sha256:709fcd97960580940702a579436f29ecf079d04bfd546af98a8bb9fe236f0e46
Status: Downloaded newer image for arm32v6/alpine:edge
docker: Error response from daemon: image with reference arm32v6/alpine:edge was found but does not match the specified platform: wanted linux/arm/v6, actual: linux/arm/v7.
See 'docker run --help'.
Error: Process completed with exit code 125.

It would seem this is incorrect linux/arm/v7 if i am still using arm32v6/alpine:edge as the container?

@tianon
Copy link
Contributor

tianon commented Aug 2, 2021

This is an unfortunate intersection of a few factors (Docker 20.10+, containerd's platform normalization, docker build's default behavior), but I've filed docker-library/bashbrew#29 to track this issue in bashbrew because that's probably going to be the most appropriate place to fix the specific case of the metadata on these Alpine images.

@userdocs
Copy link
Author

userdocs commented Aug 2, 2021

Ok, thanks for the update. My workflow just started failing and I did not fully understand why so this is helpful info to know. I'll keep an eye on it and hopefully it is resolved .

@userdocs
Copy link
Author

I still have this with the latest released image (16 hours ago) https://hub.docker.com/r/arm32v6/alpine/

https://github.com/userdocs/iperf3-static/runs/3449942070?check_suite_focus=true

Any idea when the fix will filter through?

@tianon
Copy link
Contributor

tianon commented Aug 30, 2021

I'm not sure why Docker Hub doesn't show it, but the pushed image definitely has variant: "v6" set: 😕

{
...
"architecture": "arm",
...
"os": "linux",
...
"variant": "v6"
}

@userdocs
Copy link
Author

userdocs commented Aug 30, 2021

I see this also when using docker rootless on a server

docker run --rm arm32v6/alpine:edge sh -c 'cat /etc/*release'
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/amd64) and no specific platform was requested
3.15.0_alpha20210804
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.15.0_alpha20210804
PRETTY_NAME="Alpine Linux edge"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"

@userdocs
Copy link
Author

@tianon
Copy link
Contributor

tianon commented Aug 30, 2021

Yeah, somehow arm32v6/alpine:edge didn't get updated properly and had variant: "v7" of all things -- it should be updated now though (I've just forced it to rebuild).

@userdocs
Copy link
Author

Yes that was it. It is working now https://github.com/userdocs/iperf3-static/runs/3465215662?check_suite_focus=true

Thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants