mirror of https://github.com/docker/cli.git
935 B
935 B
network disconnect
Disconnect a container from a network
Options
Name | Type | Default | Description |
---|---|---|---|
-f , --force |
bool |
Force the container to disconnect from a network |
Description
Disconnects a container from a network. The container must be running to disconnect it from the network.
Examples
$ docker network disconnect multi-host-network container1