Is it possible to do Linux network namespaces (netns) on MacOS?

Context - I'm trying to get a docker cluster running on MacOSX.

Part of the install process for getting docker running is to install pipework.

Pipework relies on /var/run/netns

My question is: Is there an equivalent of netns for Mac OS X?


Solution 1:

This is a quote directly from the Docker OS X page

The Docker Engine uses Linux-specific kernel features, so to run it on OS X we need to use a lightweight virtual machine (vm). You use the OS X Docker client to control the virtualized Docker Engine to build, run, and manage Docker containers.

The rest of the page goes on to explain how to install docker on OS X.