Description
Docker Mac Net Connect lets a macOS host reach Docker containers directly by IP address, without port bindings. Docker Desktop on a Mac runs containers inside a Linux virtual machine and exposes only port bindings to the host. This tool creates a small network tunnel between macOS and that VM, built on WireGuard, which is included in the Linux kernel. Once installed, Docker networks are added to and removed from the macOS routing table automatically, including after you restart the Mac or the Docker daemon. It is a single binary with no extra tools needed. It works with Docker Desktop 3.6.0 or higher and with Colima, and it is likely to work with other Lima-based runtimes, which are not tested. It is installed with Homebrew, and the README explains how to set a GOPROXY value through HOMEBREW_GOPROXY for users behind firewalls. The project is open source and public on GitHub.…
Highlights
- Direct IP access to containers from macOS
- WireGuard tunnel to the Docker VM
- Automatic routing table updates
- Single binary with no dependencies
- Works with Docker Desktop and Colima
Ratings & Reviews
No ratings yet
Be the first to rate Docker Mac Net Connect.
People also visit
OrbStack
Fast, light, and simple way to run Docker containers and Linux machines on macOS
Docker Mac Net Connect FAQ
What problem does it solve?
Docker on Mac does not expose container networks to the host, so you normally need port bindings. This tool lets you reach containers by IP address.
Which Docker runtimes work?
Docker Desktop 3.6.0 or higher and Colima. Other Lima-based runtimes are likely to work but are not tested.
How do I install it?
Install it with Homebrew, following the README. If a firewall blocks Go modules, the README explains how to set HOMEBREW_GOPROXY.
Do I need to reconfigure it after a restart?
No. You install it once, and the project says it keeps working after restarts of the Mac or the Docker daemon.
What is it built on?
WireGuard, which is built into the Linux kernel.
What are the best Docker Mac Net Connect alternatives?
Popular alternatives to Docker Mac Net Connect include Harbour, Docker Host and DNS Proxy Server. See all Docker Mac Net Connect alternatives
