I am trying to figure out how to tell docker that I want to run a specifc container in specific network namespace (netns).
# Add custom netns and configure it: ip netns add mynetns ... ... # Run container with this netns docker run ???
By default docker sets the netns to default:
but I can’t find how to override that in favor of
Any ideas whether it’s possible? I saw options to share the network namespaces between containers but what I want is to use any netns, in this case the one that is NOT created or managed by docker.
Thanks in advance,