docker notes

Errors

Failed to connect to host.docker.internal

why trying to connect to local machine from docker container make sure:

yaml title="docker-compose.yml"

services: my-service: extra_hosts: - “host.docker.internal:host-gateway”

*AND* the local service is running on `0.0.0.0` not `localhost`
`curl http://host.docker.internal:5150/_health`