How to get container ip address inside this container?
\'docker inspect $hostname ...\' not suitable, because I don\'t share /var/run/docker.sock host file to contai
Why not something as simple as:
grep "`hostname`" /etc/hosts|awk '{print $1}'
or
grep "$HOSTNAME" /etc/hosts|awk '{print $1}'