-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
podman run --platform for a local manifest list uses the wrong platform #14773
Comments
@vrothberg PTAL |
@flouthoc can you take a look? The reproducer does not build on my end. |
I'll check this thanks. Looks like issue is with using |
One odd wrinkle as per point 6 in the description is that |
Following PR adds support for running containers from a manifest list present on localstorage. Before this PR podman only supports running containers from valid images but not from manifest list. So `podman run -it --platform <some> <manifest-list> command` should become functional now and users should be able to resolve images on the bases of provided `--platform` string. Example ``` podman manifest create test podman build --platform linux/amd64,linux/arm64 --manifest test . podman run --rm --platform linux/arm64/v8 test uname -a ``` Closes: containers#14773 Signed-off-by: Aditya R <[email protected]>
Thanks! |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Using podman 4.1.1 on macOS, building a local manifest list with multiple platforms and then trying to run it with a platform other than my mac's platform uses the wrong platform, although it works fine for a remote manifest list.
Steps to reproduce the issue:
Containerfile
:uname
output:Describe the results you received:
podman run --platform linux/arm64/v8
on a manifest list that includes such a platform showed the output of the platform of my macDescribe the results you expected:
podman run --platform $P
on a manifest list should run for the specific platformAdditional information you deem important (e.g. issue happens only occasionally):
With --log-level=debug
Output of
podman version
:podman version output
Output of
podman info --debug
:podman info --debug output
Package info (e.g. output of
rpm -q podman
orapt list podman
):brew info podman output
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
macOS information
The text was updated successfully, but these errors were encountered: