Files
cis/script/docker/printAllBridgedNetworksWithRange.sh

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' -