docker network ls
docker network ls
Usage: docker network ls [OPTIONS] Lists all the networks created by the user -f, --filter=[] Filter output based on conditions provided --help Print usage --no-trunc Do not truncate the output -q, --quiet Only display numeric IDs
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 DRI