Files
cis/script/docker/printAllBridgedNetworksWithRange.sh
Martin Berghaus c3724afcf6 draft
2025-06-24 17:57:28 +02:00

5 lines
152 B
Bash
Executable File

#/bin/bash
docker network inspect $(docker network ls | grep -F 'bridge' | cut -d' ' -f1) \
| jq -r '.[] | .Name + " " + .IPAM.Config[0].Subnet' -