-
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
build from API or podman-remote build
does not supports --userns=auto
while it works with CLI
#15476
Comments
podman-remote build
does not supports --userns=auto
while it works with CLI
@lukasmrtvy PR #15477 should fix this issue, this was not working for As a solution new test is added in podman as well which supports right environment so hopefully this will not break in future. |
Raw API usage is similar to how @giuseppe has mentioned here #15278 (comment) i.e you must populate additional |
`podman-remote` and Libpod API does not supports build with `--userns=auto` since `IDMappingOptions` were not implemented for API and bindings, following PR implements passing `IDMappingOptions` via bindings to API. Closes: containers#15476 Signed-off-by: Aditya R <[email protected]>
@flouthoc Hey, ping From the IRC disscusion.. Podman 4.3.0 has broken
Seems there is an extended test containers/buildah#4392 for it. but are We tracking fix for this? Thanks |
@lukasmrtvy Yes this be getting automatically tested cause following test will also run for I will try checking this manually in few days as soon as i have some more cycles. |
User trying this implementation in Podman 4.2.0. Seems its working via CLI, but API call does not work.
Dockerfile
Works correctly via CLI
Does not work via API
Originally posted by @lukasmrtvy in containers/buildah#4060 (comment)
The text was updated successfully, but these errors were encountered: