Skip to content

Instantly share code, notes, and snippets.

@humbertodias
Created March 10, 2018 15:30
Show Gist options
  • Save humbertodias/b785d5cf299137c20e399fcdc53c15ce to your computer and use it in GitHub Desktop.
Save humbertodias/b785d5cf299137c20e399fcdc53c15ce to your computer and use it in GitHub Desktop.
Docker showing ip of all containers
docker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment