Forrest logo
back to the docker tool

docker:tldr:17cc4

docker: List all available and configured networks on docker daemon.
$ docker network ls
try on your machine

The command "docker network ls" is used to list the available networks in Docker.

When you run this command, Docker displays a table with the following columns:

  • NETWORK ID: the unique ID assigned to the network
  • NAME: the name given to the network
  • DRIVER: the driver used by the network (e.g., bridge, overlay)
  • SCOPE: the scope of the network (e.g., local, swarm)
  • ATTACHABLE: indicates if containers can be attached to the network
  • INTERNAL: indicates if the network is only reachable from within the swarm

This command is helpful to see the networks currently created in Docker and to verify if the desired networks are present.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the docker tool