Awesome Docker - project-sunbird/sunbird-devops GitHub Wiki

How to find the IP address of the container from inside the container?

hostname -i or hostname -I | awk { print $2 }