gitee.com/bomy/docker.git@v1.13.1/man/docker-network-disconnect.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % OCT 2015
     4  # NAME
     5  docker-network-disconnect - disconnect a container from a network
     6  
     7  # SYNOPSIS
     8  **docker network disconnect**
     9  [**--help**]
    10  [**--force**]
    11  NETWORK CONTAINER
    12  
    13  # DESCRIPTION
    14  
    15  Disconnects a container from a network.
    16  
    17  ```bash
    18    $ docker network disconnect multi-host-network container1
    19  ```
    20  
    21  
    22  # OPTIONS
    23  **NETWORK**
    24    Specify network name
    25  
    26  **CONTAINER**
    27      Specify container name
    28  
    29  **--force**
    30    Force the container to disconnect from a network
    31  
    32  **--help**
    33    Print usage statement
    34  
    35  # HISTORY
    36  OCT 2015, created by Mary Anthony <mary@docker.com>