mirror of
https://github.com/m8tin/cis.git
synced 2025-12-06 07:48:26 +01:00
draft
This commit is contained in:
4
script/docker/printAllBridgedNetworksWithRange.sh
Executable file
4
script/docker/printAllBridgedNetworksWithRange.sh
Executable file
@@ -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' -
|
||||||
Reference in New Issue
Block a user