From c3724afcf6982d07a34045d1e59ab7deeb13f60a Mon Sep 17 00:00:00 2001 From: Martin Berghaus Date: Tue, 24 Jun 2025 17:57:28 +0200 Subject: [PATCH] draft --- script/docker/printAllBridgedNetworksWithRange.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 script/docker/printAllBridgedNetworksWithRange.sh 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' -