0

docker run --network=host starts a container in the same network namespace as containerd.

How do I instead start a container in, for example, /proc/5633/ns/net or other specific network namespace?

man docker-run mentions network namespace's sysctl parameters, but I don't see mention of netns choice itself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.