-
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
Add support for multiple CNI networks in podman inspect #5295
Add support for multiple CNI networks in podman inspect #5295
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon 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 |
Needs tests still. Will add them monday. |
Fixes #4907 |
dcdd5c5
to
8026f2c
Compare
Added tests |
9f90851
to
3e012aa
Compare
Alright, things are green, minus some flakes. @baude @TomSweeneyRedHat @giuseppe @rhatdan PTAL |
LGTM |
Oh, wait, this may need a rebase... |
When inspecting containers, info on CNI networks added to the container by name (e.g. --net=name1) should be displayed separately from the configuration of the default network, in a separate map called Networks. This patch adds this separation, improving our Docker compatibility and also adding the ability to see if a container has more than one IPv4 and IPv6 address and more than one MAC address. Fixes containers#4907 Signed-off-by: Matthew Heon <[email protected]>
3e012aa
to
f9fc9a7
Compare
Done, should actually go green now |
It's green |
I guess this does not need an update in man pages. |
When inspecting containers, info on CNI networks added to the container by name (e.g. --net=name1) should be displayed separately from the configuration of the default network, in a separate map called Networks.
This patch adds this separation, improving our Docker compatibility and also adding the ability to see if a container has more than one IPv4 and IPv6 address and more than one MAC address.