-
Notifications
You must be signed in to change notification settings - Fork 792
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
arch: arm
instead of arch: arm32v7
implies official images need to be referenced by archtecture explicitely
#2873
Comments
@vrothberg PTAL |
That’s not what I see:
That suggests that the images are also available at
(For future reference, in steps to reproduce please provide specific commands and specific files. It’s not trivially clear what this step was.)
This suggests that Some Podman commands have a an |
Sorry for incomplete information. This is not an issue of
However after executing
If there is something else I could provide you with, just ask. |
Could be podman-build bug. @nalind @TomSweeneyRedHat PTAL |
I'm experiencing the same problem with the caddy builder image on a rpi4 (running official 32-bit Raspberry OS):
Like the OP, if I "podman pull docker.io/caddy:builder" manually, the "podman build" command works fine. Same cpuinfo and podman version as OP. |
@jameseck, does |
"buildah bud" gives the same error.
And just like "podman build", "buildah bud" works if I "podman pull" the image first. |
Just searching the code without testing the hypothesis, Line 284 in af10f8c
override-flag value with a non-empty default, which causes Lines 613 to 615 in af10f8c
AFAICS both |
A friendly reminder that this issue had no activity for 30 days. |
Same problem for me. Trying to get a python image on a rpi3. Arch is correctly set to arm but the variant is emtpy and therefore no matching image can be found Pulling is possible manually with podman using With |
#2868 should help fix this. |
Do you know if there is a way to figure out what the variant should be? IE Should we have a table that states |
https://github.com/containers/image/blob/master/internal/pkg/platform/platform_matcher.go has some internal tables, but the code should just pull the right image by default, without every caller having to care. Does that fail? |
@jameseck @firesoft-de @jameseck Could you test against the main branch, I believe this is fixed. Reopen if I am mistaken. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I'm running Podman on Raspberry Pi:
The problem is, that
podman info
tells that my architecture isHowever official docker.io images have architectures named a bit differently, for instance
arm32v7
. This is caused by usingruntime.GOARCH
(libpod/info.go
, functionhostInfo
), which defines the name asarm
. In order to pull images fropm docker.io, I need to reference them by hand, for instanceFROM arm32v7/fedora
.Steps to reproduce the issue:
Get Raspberry Pi and install Raspberry Pi OS.
Install podman, as detailed in installation instructions on podman.io.
Try building
FROM fedora
Describe the results you received:
Error I get:
Describe the results you expected:
I expected that my architecture is recognized correctly.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
I didn't try, but I inspected latest GitHub source to confirm it.
Additional environment details (AWS, VirtualBox, physical, etc.):
As mentioned, Raspberry Pi 4.
The text was updated successfully, but these errors were encountered: