1
0
mirror of https://github.com/docker/cli.git synced 2025-12-03 06:01:05 +03:00
Files
cli/docs/reference/commandline/network_disconnect.md
Madhu Venugopal da80c0929a Networking API and UX documentation
More doc updates will follow

Signed-off-by: Madhu Venugopal <madhu@docker.com>
2017-06-02 00:07:11 +00:00

681 B

network disconnect

Usage:  docker network disconnect [OPTIONS] NETWORK CONTAINER

Disconnects a container from a network

  --help=false       Print usage

Disconnects a running container from a network.

  $ docker network create -d overlay multi-host-network
  $ docker run -d --net=multi-host-network --name=container1 busybox top
  $ docker network disconnect multi-host-network container1

the container will be disconnected from the network.