docker-network-disconnect man page

docker-network-disconnect — disconnect a container from a network

Synopsis

docker network disconnect [--help] [--force] NETWORK CONTAINER

Description

Disconnects a container from a network.

$ docker network disconnect multi-host-network container1

Options

NETWORK
Specify network name

CONTAINER
Specify container name

--force
Force the container to disconnect from a network
--help
Print usage statement

History

OCT 2015, created by Mary Anthony ⟨mary@docker.com⟩

Info

Docker User Manuals Docker Community OCT 2015