DOKK / manpages / debian 11 / docker.io / docker-network-disconnect.1.en
DOCKER(1) Docker User Manuals DOCKER(1)

docker-network-disconnect - Disconnect a container from a network

docker network disconnect [OPTIONS] NETWORK CONTAINER

Disconnects a container from a network.

$ docker network disconnect multi-host-network container1

-f, --force[=false] Force the container to disconnect from a network

-h, --help[=false] help for disconnect

docker-network(1)

May 2022 Docker Community