-
Notifications
You must be signed in to change notification settings - Fork 642
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
Simplify --net ns: syntax? #3789
Comments
|
I'll chime in with my 2 cents (whatever that's worth) as the original contributor of this feature.
Yes! I'll readily admit to not being an expert here, but my understanding is that storing network namespaces with names under For completeness' sake, you could always workaround this by symlinking an existing netns under a different path so that it's under To touch on @AkihiroSuda's comment, Podman's equivalent feature does support arbitrary full paths: https://docs.podman.io/en/v4.4/markdown/podman-run.1.html#network-mode-net. Just to clarify, nerdctl already supports arbitrary paths, but I think @apostasie was proposing supporting named namespaces, either additionally or instead of arbitrary paths. Between the Podman parity angle and my own selfish interests I'm against dropping support for arbitrary paths, but I don't have any particular problem with adding support for named namespaces when one is provided to |
That's helpful, thanks! Yes, I am proposing supporting named namespaces. |
/dibs @AkihiroSuda can you assign? |
What is the problem you're trying to solve
Currently, we require absolute path to the ns.
eg:
and (of course?)
... will fail.
Is there a particular reason not to allow network namespaces names instead of full path?
Put otherwise: are there cases where passing along a full path that is not under
/run/netns
would be required?Describe the solution you'd like
na
Additional context
No response
The text was updated successfully, but these errors were encountered: