Skip to content

Instantly share code, notes, and snippets.

@GoldraK
Last active August 17, 2020 10:09
Show Gist options
  • Save GoldraK/ecb9863df691d6c07297480e33949acd to your computer and use it in GitHub Desktop.
Save GoldraK/ecb9863df691d6c07297480e33949acd to your computer and use it in GitHub Desktop.
Listado de ips en redes docker
#!/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