From @sebewert:
docker.for.mac.localhost only seems to be available on mac (as indicated by the name). To have something portable, would it be a good idea to have di automatically set a DNS entry for the host IP that works independently of the host platform?
From @sebewert: