github.com/tompao/docker@v1.9.1/docs/reference/commandline/network_ls.md (about) 1 <!--[metadata]> 2 +++ 3 title = "network ls" 4 description = "The network ls command description and usage" 5 keywords = ["network, list, user-defined"] 6 [menu.main] 7 parent = "smn_cli" 8 +++ 9 <![end-metadata]--> 10 11 # docker network ls 12 13 Usage: docker network ls [OPTIONS] 14 15 Lists all the networks created by the user 16 --help=false Print usage 17 --no-trunc=false Do not truncate the output 18 -q, --quiet=false Only display numeric IDs 19 20 Lists all the networks the Engine `daemon` knows about. This includes the 21 networks that span across multiple hosts in a cluster, for example: 22 23 ```bash 24 $ sudo docker network ls 25 NETWORK ID NAME DRIVER 26 7fca4eb8c647 bridge bridge 27 9f904ee27bf5 none null 28 cf03ee007fb4 host host 29 78b03ee04fc4 multi-host overlay 30 ``` 31 32 Use the `--no-trunc` option to display the full network id: 33 34 ```bash 35 docker network ls --no-trunc 36 NETWORK ID NAME DRIVER 37 18a2866682b85619a026c81b98a5e375bd33e1b0936a26cc497c283d27bae9b3 none null 38 c288470c46f6c8949c5f7e5099b5b7947b07eabe8d9a27d79a9cbf111adcbf47 host host 39 7b369448dccbf865d397c8d2be0cda7cf7edc6b0945f77d2529912ae917a0185 bridge bridge 40 95e74588f40db048e86320c6526440c504650a1ff3e9f7d60a497c4d2163e5bd foo bridge 41 ``` 42 43 44 ## Related information 45 46 * [network disconnect ](network_disconnect.md) 47 * [network connect](network_connect.md) 48 * [network create](network_create.md) 49 * [network inspect](network_inspect.md) 50 * [network rm](network_rm.md) 51 * [Understand Docker container networks](../../userguide/networking/dockernetworks.md)