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