dab.io

Docker on macOS

This is an update to a former description of how to get docker up and running with decent speed for local development.

Remove Outdated Installation

If you followed my other description, use these steps to remove the old version of dlite.

$ sudo dlite uninstall
$ brew uninstall dlite
$ sudo rm /var/run/docker.sock
$ rm /etc/exports

Do the last step only when there is only one entry in your /etc/exports file. Otherwise locate the dlite entry and remove it manually.

Install Latest dlite Version

I assume you have Homebrew installed and you are familiar with it.

Install the required dependencies first.

$ brew install libev docker

Docker is obviously needed and libev is necessary for building the system for dlite.

Install the latest version of dlite.

$ curl -OL https://github.com/nlf/dlite/releases/download/2.0.0-beta9/dlite
$ mv dlite /usr/local/bin/
$ chmod 0755 /usr/local/bin/dlite

Init and start it.

$ dlite init
$ dlite start

Check if everything is working fine with docker version.