Pass a network interface from the host to a container with network=none #22745
Exagone313
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
podman version 5.0.3andjq, as rootipcommand installedip link add dummy-foobar type dummy--network=noneip), as it's not made for containers created with--network=noneln -sfT "$(podman inspect foobar | jq -r '.[0].NetworkSettings.SandboxKey')" /run/netns/podman-foobardummy-foobarinterface to the network namespace of your container:ip link set dummy-foobar netns podman-foobarNotes
Beta Was this translation helpful? Give feedback.
All reactions