Running Docker on macOS
I use the docker+dlite method, which is fast and works fine for me. I haven’t tried the official macOS binaries yet.
$ brew install docker dlite $ sudo dlite install $ dlite start $ ssh email@example.com
If connecting is not working, reinstalling did the thing.
$ dlite stop $ sudo dlite uninstall $ sudo rm /var/run/docker.sock
Connection should be fine now.
If docker fails with the error message “Error response from daemon: client is newer than server (client API version: 1.24, server API version: 1.22)”, try setting the environment variable to the given server version