Re:Show HN: Docker.hostip.dev – Access localhost from Docker...
by fulafel on Monday April 27, 2020 @11:32PM
(#23003045)
"Your dev machines localhost" is confused - this is unrelated to the loopback. Also "the loopback address of the container itself" - there is a loopback interface per network node, be it a container or host, different loopback addresses (127.0.0.2 etc) would not change anything.
docker.hostip.dev points to the default bridge network adaptor address which will access your dev machines localhost. It does not replace accessing localhost/127.0.0.1 on your dev machine directly