Files
docker-cli/components/engine/docs/reference/commandline/network_ls.md
Madhu Venugopal 7b66bab8fb Added network to docker --help and help cleanup
Fixes https://github.com/docker/docker/issues/16909

Signed-off-by: Madhu Venugopal <madhu@docker.com>
Upstream-commit: 46f7ab35854151ac054bf04f2bb7b344374b6d02
Component: engine
2015-10-15 03:10:39 -07:00

816 B

docker network ls

Usage:  docker network ls [OPTIONS]

Lists all the networks created by the user
  --help=false          Print usage
  --no-trunc=false      Do not truncate the output
  -q, --quiet=false     Only display numeric IDs

Lists all the networks Docker knows about. This include the networks that spans across multiple hosts in a cluster.

Example output:

    $ sudo docker network ls
    NETWORK ID          NAME                DRIVER
    7fca4eb8c647        bridge              bridge
    9f904ee27bf5        none                null
    cf03ee007fb4        host                host