diff --git a/script/docker/printAllBridgedNetworksWithRange.sh b/script/docker/printAllBridgedNetworksWithRange.sh new file mode 100755 index 0000000..0b4c1ca --- /dev/null +++ b/script/docker/printAllBridgedNetworksWithRange.sh @@ -0,0 +1,4 @@ +#/bin/bash + +docker network inspect $(docker network ls | grep -F 'bridge' | cut -d' ' -f1) \ + | jq -r '.[] | .Name + " " + .IPAM.Config[0].Subnet' -