Please Visit: http://ift.tt/1ajReyV
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com https://plus.google.com/101157854606139706613/posts/hHxHvLWBhQC
via LifeLong Community
Getting a docker containers ip address from the host - Stack Overflow
I would go with the --format option of inspect:
docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${CID}
Which will return just the IP address.
http://stackoverflow.com/questions/17157721/getting-a-docker-containers-ip-address-from-the-host
http://massiveprogramming.blogspot.com/2014/10/getting-docker-containers-ip-address.html
I would go with the --format option of inspect:
docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${CID}
Which will return just the IP address.
http://stackoverflow.com/questions/17157721/getting-a-docker-containers-ip-address-from-the-host
http://massiveprogramming.blogspot.com/2014/10/getting-docker-containers-ip-address.html
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com https://plus.google.com/101157854606139706613/posts/hHxHvLWBhQC
via LifeLong Community
No comments:
Post a Comment