Last active
August 17, 2020 10:09
-
-
Save GoldraK/ecb9863df691d6c07297480e33949acd to your computer and use it in GitHub Desktop.
Listado de ips en redes docker
This file contains hidden or 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
#!/bin/bash | |
docker network inspect $(docker network ls -q) | jq -r '.[] | .IPAM.Config[0].Subnet' | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment