github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/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>