How to build Docker for Mac?

Hi

Had a problem when a docker exec spawns a process inside the container and then exits. I note that there is a fix for this (pull/26874) but it was only checked in a few days ago.

How can I build a new version for Mac?

Have followed instructions to build the source, and ‘make cross’ builds me a Darwin client - but doesn’t build server executables.

~/work/docker$ find bundles/ -type f |grep darwin
bundles//1.13.0-dev/cross/darwin/amd64/docker-1.13.0-dev
bundles//1.13.0-dev/cross/darwin/amd64/docker-1.13.0-dev.md5
bundles//1.13.0-dev/cross/darwin/amd64/docker-1.13.0-dev.sha256

Whereas for Windows we get:

$ find bundles/ -type f |grep windows
bundles//1.13.0-dev/cross/windows/386/docker-1.13.0-dev.exe
bundles//1.13.0-dev/cross/windows/386/docker-1.13.0-dev.exe.md5
bundles//1.13.0-dev/cross/windows/386/docker-1.13.0-dev.exe.sha256
bundles//1.13.0-dev/cross/windows/amd64/docker-1.13.0-dev.exe
bundles//1.13.0-dev/cross/windows/amd64/docker-1.13.0-dev.exe.md5
bundles//1.13.0-dev/cross/windows/amd64/docker-1.13.0-dev.exe.sha256
bundles//1.13.0-dev/cross/windows/amd64/docker-proxy-1.13.0-dev.exe
bundles//1.13.0-dev/cross/windows/amd64/docker-proxy-1.13.0-dev.exe.md5
bundles//1.13.0-dev/cross/windows/amd64/docker-proxy-1.13.0-dev.exe.sha256
bundles//1.13.0-dev/cross/windows/amd64/dockerd-1.13.0-dev.exe
bundles//1.13.0-dev/cross/windows/amd64/dockerd-1.13.0-dev.exe.md5
bundles//1.13.0-dev/cross/windows/amd64/dockerd-1.13.0-dev.exe.sha256

Any hints?

How often are builds uploaded/published? From what I can see just the Beta doesn’t have this yet.

How do I relate this info from About to which commits are present?

Version 1.12.2-rc1-beta27 (build: 12496)
179c18cae7

Regards
Robert

There is no Docker server for Mac, “Docker for Mac” uses a lightweight Linux VM where the docker server runs. However, I am trying to build the docker client for Mac, and running make cross (using Docker for Mac) does not build a Darwin binary (neither a Windows binary). Did you have to do anything special to compile a Darwin client?