Disconnect a container from a network
| Name | Type | Default | Description |
|---|---|---|---|
-f, --force | bool | Force the container to disconnect from a network |
Disconnects a container from a network. The container must be running to disconnect it from the network.
$ docker network disconnect multi-host-network container1