has reached the end-of-life and is now read-only. Please see the EOL announcement for details

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

· · Web · 1 · 0 · 0

@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

the mastodon instance at is retired

see the end-of-life plan for details: