https://orbstack.dev logo
Enabling `network_mode: host` does not seem to exp...
# support
n
I'm currently setting up a new pi-hole container on macOS with Orbstack. Went with orbstack because:
Copy code
Host networking, or --net host, allows containers to inherit the host's network namespace instead of being an independent host on a bridge network. Unlike other Docker providers for macOS, OrbStack supports host networking out of the box.
Pi-hole is working perfectly, however all my queries are coming from localhost instead of the actual client. Looking for some feedback
Additionally, none of the interfaces share the same subnet with the host OS
g
I'm experiencing the same issue with pihole too
n
I dug into this a bit deeper and I guess I was mislead by the "marketing" on that page, orbstack doesn't actually expose the host's subnet to any containers, but it can "bridge" them over localhost which is what I'm using it for now. There is no solution to this problem, its only supported on Linux as of now.
s
Heya, I saw this and have a similar problem. I just switched over from linux to mac, and also noticed that when I run a vpn on my host machine, the container can't see the newly created interface when I put in
ip a
for example. My environment runs off a compose file, and I've tried to mount the
utun
devices, but I don't see the required interface still. I was wondering if anyone found a solution to that.