Docker CLI
docker network ls
Lists networks visible to the selected Engine. Read-only; IDs, names and driver types depend on the environment. Confirm local context and do not disclose private topology. Check DOCKER_HOST, DOCKER_CONTEXT and CLI overrides before querying the daemon.
Formal Syntax & Structure
docker syntaxdocker
docker network ls [OPTIONS]Working Example
Example Snippetdocker
docker network ls