Created
March 9, 2015 06:28
-
-
Save ccll/7c45b8019f3ec8ca4a41 to your computer and use it in GitHub Desktop.
Get IP address of docker container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${CID} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment