Files
docker-cli/docs/reference/commandline/network_disconnect.md
Sebastiaan van Stijn 96eb0888fa reference docs: fix broken links and markdown touch-ups
- fix various broken links
- fix incorrect anchors
- updated links for content that moved, so that no
  redirect to the new location is needed.
- touched-up Markdown;
  - re-format some JSON output
  - add blank line betweeen command and command output
  - format "note" blocks

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8919c228bd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-19 19:41:50 +02:00

931 B

title, description, keywords
title description keywords
network disconnect The network disconnect command description and usage network, disconnect, user-defined

network disconnect

Usage:  docker network disconnect [OPTIONS] NETWORK CONTAINER

Disconnect a container from a network

Options:
  -f, --force   Force the container to disconnect from a network
      --help    Print usage

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