docker-apps/_instructions/to list networks with subnets.txt
2025-04-15 22:40:04 +02:00

5 lines
199 B
Plaintext

# to list networks with subnets
apt-get update
apt-get install q
docker network inspect $(docker network ls | awk '$3 == "bridge" { print $1}') | jq -r '.[] | .Name + " " + .IPAM.Config[0].Subnet' -