Hacker News new | ask | show | jobs
by aussieguy1234 2242 days ago
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.