-
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
Fix namespace flag parsing for podman build #8326
Fix namespace flag parsing for podman build #8326
Conversation
Fixes containers#8332 Signed-off-by: Paul Holzinger <[email protected]>
The namespace options for pid,ipc,uts were completely ignored. The network namespace did not accept `none`. This commit fixes these issues simply by calling `parse.NamespaceOptions` from buildah instead of implementing our own logic. Signed-off-by: Paul Holzinger <[email protected]>
Nice work |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Luap99, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@baude How much of buildah does this pull into podman-remote? |
Doesn't look like it pulled in anything new, @jwhonce |
LGTM |
/lgtm |
/hold cancel |
The namespace options for pid,ipc,uts were completely ignored.
The network namespace did not accept
none
.This commit fixes these issues simply by calling
parse.NamespaceOptions
from buildah instead of implementing our own logic.
Also add podman build
--net
alias for--network
Fixes #8322