Created
January 10, 2023 08:48
-
-
Save kleo/7ab80336b805f7ac1b9cbeda2f6c486a to your computer and use it in GitHub Desktop.
Docker get a list of created networks' IP addresses (IP range of subnets) https://stackoverflow.com/a/60105387/10025507
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker network inspect $(docker network ls | awk '$3 == "bridge" { print $1}') | jq -r '.[] | .Name + " " + .IPAM.Config[0].Subnet' - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment