tested on Arch Linux x64 4.5.4-1-ARCH
Ever needed the IP of your running docker container? I found a script somewhere on Stackoverflow, packed it into a function and created an alias for it. This function is just a shorthand to get the IP by container ID or by the container's name:
Append this to your .bash_aliases
or similar:
# ~/.bash_aliases