-
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
[Bug]: Passing --platform=xxx
causes Podman to pull image
#17063
Comments
Thanks for filing. Podman will pull an image if the user specified a custom platform (see #10682). I will see whether we can optimize something. |
Opened containers/common#1287 to fix/optimize for this specific case where the platforms match. |
Closing since containers/common#1287 got merged. The fix will make it into the upcoming Podman 4.4 release. |
Note that it turned out having caused issues (see containers/common#1299), so we had to revert the change. |
should we reopen this issue then? |
Yes, good idea. So at the moment this is "expected behavior". But I am sure we can improve on that. |
--platform=linux/amd64
on linux/amd64 machine makes podman run
significantly slower--platform=xxx
causes Podman to pull image
A friendly reminder that this issue had no activity for 30 days. |
Issue Description
Passing
--platform=linux/amd64
on linux/amd64 machine makespodman run
significantly slower.See also #12682 & #14197.
See the outputs below:
Steps to reproduce the issue
Steps to reproduce the issue
podman run --rm --platform=linux/amd64 ghcr.io/reddit/thrift-compiler:0.17.0 --version
podman run --rm ghcr.io/reddit/thrift-compiler:0.17.0 --version
Describe the results you received
The one with
--platform=linux/amd64
is significantly slower then the one without.Describe the results you expected
They should take roughly the same time to run.
podman info output
The text was updated successfully, but these errors were encountered: