github.com/tompao/docker@v1.9.1/man/docker-network-ls.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % OCT 2015
     4  # NAME
     5  docker-network-ls - list networks
     6  
     7  # SYNOPSIS
     8  **docker network ls**
     9  
    10  [**--no-trunc**]
    11  [**-q** | **--quiet**]
    12  [**--help**]
    13  
    14  # DESCRIPTION
    15  
    16  Lists all the networks the Engine `daemon` knows about. This includes the
    17  networks that span across multiple hosts in a cluster, for example:
    18  
    19  ```bash
    20      $ sudo docker network ls
    21      NETWORK ID          NAME                DRIVER
    22      7fca4eb8c647        bridge              bridge
    23      9f904ee27bf5        none                null
    24      cf03ee007fb4        host                host
    25      78b03ee04fc4        multi-host          overlay
    26  ```
    27  
    28  Use the `--no-trunc` option to display the full network id:
    29  
    30  ```bash
    31  docker network ls --no-trunc
    32  NETWORK ID                                                         NAME                DRIVER
    33  18a2866682b85619a026c81b98a5e375bd33e1b0936a26cc497c283d27bae9b3   none                null                
    34  c288470c46f6c8949c5f7e5099b5b7947b07eabe8d9a27d79a9cbf111adcbf47   host                host                
    35  7b369448dccbf865d397c8d2be0cda7cf7edc6b0945f77d2529912ae917a0185   bridge              bridge              
    36  95e74588f40db048e86320c6526440c504650a1ff3e9f7d60a497c4d2163e5bd   foo                 bridge    
    37  ```
    38  
    39  # OPTIONS
    40  
    41  [**--no-trunc**]
    42    Do not truncate the output
    43  
    44  [**-q** | **--quiet**]
    45    Only display numeric IDs
    46  
    47  **--help**
    48    Print usage statement
    49  
    50  # HISTORY
    51  OCT 2015, created by Mary Anthony <mary@docker.com>