table of contents
other versions
- trixie 26.1.5+dfsg1-9+b9
- testing 26.1.5+dfsg1-9+b9
- unstable 26.1.5+dfsg1-10
- experimental 27.5.1+dfsg1-2
DOCKER(1) | Docker User Manuals | DOCKER(1) |
NAME¶
docker-network-disconnect - Disconnect a container from a network
SYNOPSIS¶
docker network disconnect [OPTIONS] NETWORK CONTAINER
DESCRIPTION¶
Disconnects a container from a network.
$ docker network disconnect multi-host-network container1
OPTIONS¶
-f, --force[=false] Force the container to disconnect from a network
-h, --help[=false] help for disconnect
SEE ALSO¶
Oct 2025 | Docker Community |