-
Notifications
You must be signed in to change notification settings - Fork 543
Description
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
- I agree to follow this project's Code of Conduct