Yes; if there is no network connectivity, `$HOSTNAME` should map to `127.0.1.1`, not `127.0.0.1`. Otherwise, when resolving its own canonical hostname, the container can find `localhost` instead of `$HOSTNAME`.