-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Unable to build multi-arch via Podman CURL / API. #22071
Comments
Closing this as this is intentional in the API and not a bug. To create multi-platform / multi-arch, it's creating a manifest, then building, then adding it to manifest. |
It should work, by setting a "manifest" parameter and passing two "platform" parameters. |
(Whether needing to set "manifest" rather than "t" and needing to supply elements of the platforms list in separate "platform" arguments is a bug is not something I'm enough of an expert to weigh in on.) |
I'll reopen given Nalin's comments |
A friendly reminder that this issue had no activity for 30 days. |
The docker API seems to accept comma separated values so we must match this in the API. |
The docker API uses only a single arg for platform and multiple platforms are given as comma separated list. Fixes containers#22071 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Issue Description
When trying to pass in
--platform
equivalent within the API, I am getting this parsing error:Steps to reproduce the issue
Steps to reproduce the issue
tar -czf context.tar.gz -C dir .
)Describe the results you received
Getting a platform error (see above).
Describe the results you expected
Passing, similar to:
podman info output
The text was updated successfully, but these errors were encountered: