Skip to content

Instantly share code, notes, and snippets.

@mycargus
Last active February 3, 2018 23:21
Show Gist options
  • Select an option

  • Save mycargus/866f284e7e23decb4cea to your computer and use it in GitHub Desktop.

Select an option

Save mycargus/866f284e7e23decb4cea to your computer and use it in GitHub Desktop.
docker inspect network settings for a running named container
docker inspect -f '{{ json .NetworkSettings }}' $(docker inspect --format="{{.Id}}" $container_name) | python -mjson.tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment