In my development setup I want to make a HTTP GET request zu a service on the host (of the container)
$response = wp_remote_get("http://host.docker.internal:7171/foo
and get this error msg: ERROR cURL error 6: Could not resolve host: host.docker.internal
Is it possible to plugin some extra docker configuration to startup the container, similar to what is described here?
See also “I want to connect from a container to a service on the host” here:
Using Local 6.4.1 on macos 11.6