Feature or enhancement request details
Hopefully this is just a case of adding documentation?
With docker I can run a webserver locally on http://127.0.0.1:1420/ and run a container (e.g. mcr.microsoft.com/playwright:v1.45.3-noble) and connect to the server running locally from the container for the purposes of running tests against the local service.
With docker on macos I configure the url as http://host.docker.internal:1420 which works, I tried http://host.containers.internal:1420 & http://host.container.internal:1420 but get curl: (6) Could not resolve host: host.container.internal (my first command run in container is curl --fail --silent --show-error http://host.containers.internal:1420> /dev/null)
Interestingly the host.containers.internal fails instantly, and host.container.internal take 11 seconds before failing.
Is there some other magic hostname that I should use with containers? Potentially of note I am on Sequoia 15.5 so can't try out the new networking options.
Code of Conduct
Feature or enhancement request details
Hopefully this is just a case of adding documentation?
With docker I can run a webserver locally on
http://127.0.0.1:1420/and run a container (e.g.mcr.microsoft.com/playwright:v1.45.3-noble) and connect to the server running locally from the container for the purposes of running tests against the local service.With docker on macos I configure the url as
http://host.docker.internal:1420which works, I triedhttp://host.containers.internal:1420&http://host.container.internal:1420but getcurl: (6) Could not resolve host: host.container.internal(my first command run in container iscurl --fail --silent --show-error http://host.containers.internal:1420> /dev/null)Interestingly the
host.containers.internalfails instantly, andhost.container.internaltake 11 seconds before failing.Is there some other magic hostname that I should use with containers? Potentially of note I am on Sequoia 15.5 so can't try out the new networking options.
Code of Conduct