Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Build Docker CLI for Windows (docker.exe)
git clone https://github.com/docker/docker-ce.git
# List all tags (exclude the rc)
git tag --list 'v*-ce'
# Checkout desired version (tag)
git checkout 18.05.0-ce
# Build docker.exe CLI for Windows
cd components/cli
make -f docker.Makefile binary-windows
# find . -name docker-windows-amd64
cp build/docker-windows-amd64 docker.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment