docker network disconnect

network disconnect

1
2
3
4
5
6
7
Usage:  docker network disconnect [OPTIONS] NETWORK CONTAINER
 
 
Disconnects a container from a network
 
  -f, --force        Force the container to disconnect from a network
  --help             Print usage

Disconnects a container from a network. The container must be running to disconnect it from the network.

1
$ docker network disconnect multi-host-network container1
doc_docker
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.