Skip to content

Instantly share code, notes, and snippets.

@urjitbhatia
Created August 14, 2020 00:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Fetch the ip address of a sibling container from a docker-in-docker run
$(docker inspect my-sibling-dind-container --format '{{ .NetworkSettings.IPAddress }}')
-- Make sure both run on the same "network" (bridge by default in most cases)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment