Docker for mac environment variables

broken image
broken image

Here at CenturyLink Labs we've spent a lot of time recently developing against some of the features unique to CoreOS. There are, however, a few scenarios where boot2docker doesn't work. For most people boot2docker is the perfect tool for working with Docker on the Mac (or Windows for that matter). The end result is that it (almost) feels like we're running Docker containers natively on the Mac - the client tool runs in the local terminal and transparently interacts with the Docker server running inside the VM. The boot2docker tool makes this about as easy as it can be by provisioning a Tiny Core Linux virtual machine running the Docker daemon and installing a Mac version of the Docker client which will communicate with that daemon. Unfortunately, OSX is not Linux and it simply doesn't have the kernel features that are required to run Docker containers.Īs a result, we Mac users typically find ourselves running a Linux distro in a VM in order to get our Docker fix. As I spend more time with Docker though, I certainly wish that I could run my containers natively on the Mac.

broken image

As a developer, I'm generally pretty happy with my Mac as a development machine.