docker network disconnect <NETWORK> <container>

Disconnect a container from a network

Arguments

NameDescription
NETWORK
container

Options

NameDescription
-f, --forceForce the container to disconnect from a network