github.com/robertojrojas/docker@v1.9.1/docs/reference/commandline/network_disconnect.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "network disconnect"
     4  description = "The network disconnect command description and usage"
     5  keywords = ["network, disconnect, user-defined"]
     6  [menu.main]
     7  parent = "smn_cli"
     8  +++
     9  <![end-metadata]-->
    10  
    11  # network disconnect
    12  
    13      Usage:  docker network disconnect [OPTIONS] NETWORK CONTAINER
    14  
    15      Disconnects a container from a network
    16  
    17        --help=false       Print usage
    18  
    19  Disconnects a container from a network. The container must be running to disconnect it from the network.
    20  
    21  ```bash
    22    $ docker network disconnect multi-host-network container1
    23  ```
    24  
    25  
    26  ## Related information
    27  
    28  * [network inspect](network_inspect.md)
    29  * [network connect](network_connect.md)
    30  * [network create](network_create.md)
    31  * [network ls](network_ls.md)
    32  * [network rm](network_rm.md)
    33  * [Understand Docker container networks](../../userguide/networking/dockernetworks.md)