Share and learn in the Docker community.
There was a more elegant solution proposed: Access host (not vm) from inside container