Clone this repo:
  1. f7ea8e8 Merge pull request #1521 from albers/completion-fix-service--force by Sebastiaan van Stijn · 3 days ago master
  2. 5fa5eb1 Fix bash completion for `service update --force` by Harald Albers · 4 days ago
  3. 29625f6 Merge pull request #1415 from dhiltgen/fix_panic_master by Sebastiaan van Stijn · 4 days ago
  4. 0964455 Merge pull request #1520 from ijc/bump-gotest by Vincent Demeester · 5 days ago
  5. 986196e Bump to v2.2.0 by Ian Campbell · 5 days ago

build status Build Status


This repository is the home of the cli used in the Docker CE and Docker EE products.


docker/cli is developed using Docker.

Build a linux binary:

$ make -f docker.Makefile binary

Build binaries for all supported platforms:

$ make -f docker.Makefile cross

Run all linting:

$ make -f docker.Makefile lint

List all the available targets:

$ make help

In-container development environment

Start an interactive development environment:

$ make -f docker.Makefile shell

In the development environment you can run many tasks, including build binaries:

$ make binary


Brought to you courtesy of our legal counsel. For more context, please see the NOTICE document in this repo.

Use and transfer of Docker may be subject to certain restrictions by the United States and other governments.

It is your responsibility to ensure that your use and/or transfer does not violate applicable laws.

For more information, please see


docker/cli is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.