{"repo":"chipmk/docker-mac-net-connect","free":true,"listed":false,"github":"https://github.com/chipmk/docker-mac-net-connect","clone":"git clone https://github.com/chipmk/docker-mac-net-connect.git","description":"Connect directly to Docker-for-Mac containers via IP address 🐳 💻","language":"Go","stars":658,"topics":["docker","macos","containers","networking","wireguard","vpn","ip","colima"],"license":"MIT","category":"networking-infra","readme_excerpt":"Docker Mac Net Connect Connect directly to Docker-for-Mac containers via IP address. Features - L3 connectivity: Connect to Docker containers from macOS host (without port binding). - Lightweight: Based on WireGuard (built-in to Linux kernel). - Hands-off: Install once and forget. No need to re-configure every time you restart your Mac or Docker daemon. - Automatic: Docker networks are automatically added/removed from macOS routing table. - No bloat: Everything is handled by a single binary. No external dependencies/tools are needed. Requirements One of the following Docker runtimes: - Docker Desktop v3.6.0 or higher (see #10) - Colima (likely other Lima-based runtimes as well, but not tested) Installation GOPROXY support This Homebrew formulae is built using go . When Homebrew installs a formulae, it strips away local environment variables and configuration, including configuration set using go env . Some users require changing GOPROXY due to firewalls. This formulae adds special support for GOPROXY using HOMEBREW GOPROXY : Usage After installing, you will be able to do this: Background Accessing containers directly by IP (instead of port binding) can be useful and convenient. Problem Unlike Docker on Linux, Docker-for-Mac does not expose container networks directly on the macOS host. Docker-for-Mac works by running a Linux VM under the hood (using hyperkit ) and creates containers within that VM. Docker-for-Mac supports connecting to containers over Layer 4 (port binding), ","default_branch":null,"files":null,"tree":[],"storefront":"/r/chipmk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chipmk/docker-mac-net-connect/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}