title: How can I tell if a docker container is on localhost or 192.168.99.100
body: <p>Is it possible in docker-compose or through some environment variable to figure out the hostname that docker is linking to containers?  The wordpress home and siteurl are set to localhost:8000 which work fine on docker for mac, but when used on docker toolbox for windows, the site is hosted on 192.168.99.100:8000, which then redirects back to localhost and fails.  Is it possible to determine whether the host is localhost or 192.168.99.100 in docker-compose?</p>