You've created a Docker network and want to connect an existing container to it. Which command(s) do you use?
Author: AxelStatus: Published(Update)Question passed 407 times
Edit
5
Community Evaluations
oumina
01/06/2024
i think the only correct one is
docker network connect <network-name> <container-id> for the first one docker network connect <network-id> <container-name>, we should put network_name innstead of network_id