Re:Show HN: Docker.hostip.dev – Access localhost from Docker...
by aaronedam on Sunday April 26, 2020 @10:43AM
(#22987475)
While Docker is already offering 'host.docker.internal', what is the reason for this blog post?
[ Parent
| on HN ]
Re:Show HN: Docker.hostip.dev – Access localhost from Docker...
by aussieguy1234 on Monday April 27, 2020 @11:10PM
(#23002916)
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.