Hacker News new | ask | show | jobs
by aaronedam 2239 days ago
While Docker is already offering 'host.docker.internal', what is the reason for this blog post?
1 comments

host.docker.internal does not work on a Linux host.

For other OSes the hostnames provided by Docker are inconsistent, i.e. docker.for.mac.localhost

This just provides a cross platform hostname that you can use on any OS.