Why does the service need to run as root? If the server dies, the utun interface will disappear along with its routes. No, routes are tied to the utun device created by the server. Sudo netstat -rnf inet | grep 172.200 Will routes remain orphaned in the routing table if the server crashes? # Check the routing table - a new route exists $ docker network create -subnet 172.200.0.0/16 my-network # First validate that no route exists for the subnet Yes, the server watches the Docker daemon for both network creations and deletions and will add/remove routes accordingly.įor example, let’s create a Docker network with subnet 172.200.0.0/16: Do you add/remove routes when Docker networks change? The server detects when the Docker daemon stops and automatically reconfigures the tunnel when it starts back up. Since Docker-for-Mac isn’t designed for production workloads, neither is this. This tool was designed to assist with development on macOS. Network traffic runs directly between the macOS host and local Linux VM – no external connections are made. The docker-mac-net-connect server generates new private/public key pairs for each WireGuard peer every time it runs. This tool piggybacks off of WireGuard which has gone through numerous audits and security tests (it is built-in to the Linux kernel after all).