Connect running container to new network #2848
Unanswered
sullivan50909
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to connect a running container to a new network?
I can successfully connect to one or more networks at the time I start a container using:
nerdctl run -it --net mynetwork1 --net mynetwork2 myimage
After I start the container, it is possible to connect to mynetwork3?
It appears that this is possible in docker using
docker network connect
, but the nerdctl docs say this command is unimplemented.https://github.com/containerd/nerdctl/blob/main/docs/command-reference.md#unimplemented-docker-commands
Beta Was this translation helpful? Give feedback.
All reactions