The Docker command-line interface used to interact with Docker engines and resources. Source repository contains the CLI component of the Docker project.
Overview
Docker CLI is the command-line interface for Docker. This open-source client is what operators use alongside a Docker engine to manage images, containers, and related resources from the shell.
Development of the CLI uses Docker itself in the project workflow. Maintainers document building the CLI from source, producing binaries for supported platforms, and running lint and test targets through the included build system.
The component is part of the broader Docker ecosystem rather than a standalone server; it sends commands to a Docker daemon or context you configure locally or remotely. Legal notices in the project mention export and transfer considerations for Docker software.
For someone choosing tooling, this is the open-source home of the docker client users install with Docker Desktop or packages, not the engine or registry services themselves.
Key features
- Docker engine command interface
- Built from dedicated CLI repository
- Multi-platform binary builds
- Source build via project Makefile
- Lint and test automation targets
- In-container dev environment
Use cases
- Manage containers from the shell
- Build and push images via CLI
- Script Docker workflows in CI
- Develop and patch the Docker client
- Cross-compile CLI binaries