docker network inspect mynet --format '{{.Name}} {{.Driver}}'

Category: Docker

docker network inspect mynet --format '{{.Name}} {{.Driver}}'

Inspect a network with custom formatting

Dumps the network's configuration, containers, and subnet details. --format renders a Go template, here printing name and driver only. Default output is a full JSON document.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.