is it possible to access another computer in the local network from within a #docker container (on macos, i.e. without `--network=host`) without forwarding the specific port to the local host and use `host.docker.internal`?


@bake I have only done this on Linux, but yes it is possible. You can access any computer your host can connect to via IPv4 address if the IP ranges don't overlap with the ones Docker uses. If you want to use hostnames you'll probably need --dns=your-local-resolver.

Sign in to participate in the conversation – a Fediverse instance for & by the Chaos community