Skip to content

Instantly share code, notes, and snippets.

@jaccon
Created August 15, 2020 06:25
Show Gist options
  • Save jaccon/3e4b80af3fec3a28e4989a8333bd23a6 to your computer and use it in GitHub Desktop.
Save jaccon/3e4b80af3fec3a28e4989a8333bd23a6 to your computer and use it in GitHub Desktop.
docker ps -q | xargs -n 1 docker inspect --format '{{ .Name }} {{range .NetworkSettings.Networks}} {{.IPAddress}}{{end}}' | sed 's#^/##';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment