Skip to content

Commit d0d25ea

Browse files
committed
docs: homebrew installation
1 parent 6462472 commit d0d25ea

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,28 @@
66

77
Accessing containers directly by IP (instead of port binding) can be useful and convenient.
88

9-
## Problem
9+
### Problem
1010

1111
Docker-for-Mac works by running Linux in a VM and executing containers within that VM.
1212

1313
Containers are accessible by IP address from the Linux VM, but not from the macOS host.
1414

15-
## Solution
15+
### Solution
1616

1717
Create a network tunnel between your macOS host and the Docker Desktop Linux VM. The tunnel is implemented using WireGuard.
1818

19-
## Why WireGuard?
19+
### Why WireGuard?
2020

2121
WireGuard is an extremely lightweight and fast VPN. It’s also built in to the Linux kernel, which means no background processes/containers are required to build the tunnel. It is the perfect tool for this application.
2222

2323
## Installation
2424

25-
This project just passed POC, so installation is manual. Homebrew package coming soon.
26-
2725
```bash
28-
$ git clone https://github.com/chipmk/docker-mac-net-connect
29-
$ cd docker-mac-net-connect && sudo go run .
26+
# Install via Homebrew
27+
$ brew install chipmk/tap/docker-mac-net-connect
28+
29+
# Run the service and register it to launch at boot
30+
$ sudo brew services start docker-mac-net-connect
3031
```
3132

3233
## How does it work?

0 commit comments

Comments
 (0)