1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/man/docker-network-ls.1.md
Mary Anthony d5364c7114 Updating network commands: adding man pages
Adding Related information blocks
Final first draft pass: ready for review
Review comments
Entering comments from the gang
Updating connect to include paused

Signed-off-by: Mary Anthony <mary@docker.com>
2015-10-27 08:29:07 -07:00

1.4 KiB

% DOCKER(1) Docker User Manuals % Docker Community % OCT 2015

NAME

docker-network-ls - list networks

SYNOPSIS

docker network ls

[--no-trunc] [-q | --quiet] [--help]

DESCRIPTION

Lists all the networks the Engine daemon knows about. This includes the networks that span across multiple hosts in a cluster, for example:

    $ sudo docker network ls
    NETWORK ID          NAME                DRIVER
    7fca4eb8c647        bridge              bridge
    9f904ee27bf5        none                null
    cf03ee007fb4        host                host
    78b03ee04fc4        multi-host          overlay

Use the --no-trunc option to display the full network id:

docker network ls --no-trunc
NETWORK ID                                                         NAME                DRIVER
18a2866682b85619a026c81b98a5e375bd33e1b0936a26cc497c283d27bae9b3   none                null                
c288470c46f6c8949c5f7e5099b5b7947b07eabe8d9a27d79a9cbf111adcbf47   host                host                
7b369448dccbf865d397c8d2be0cda7cf7edc6b0945f77d2529912ae917a0185   bridge              bridge              
95e74588f40db048e86320c6526440c504650a1ff3e9f7d60a497c4d2163e5bd   foo                 bridge    

OPTIONS

[--no-trunc] Do not truncate the output

[-q | --quiet] Only display numeric IDs

--help Print usage statement

HISTORY

OCT 2015, created by Mary Anthony mary@docker.com