Command
docker network connect
Explanation
Adds a container to an existing network while the container is running.
Examples
Connect container to network
docker network connect my_network my_container
docker network connect
Adds a container to an existing network while the container is running.
Connect container to network
docker network connect my_network my_container