The Docker CLI
  • Go 92.4%
  • Shell 5.3%
  • Dockerfile 1.1%
  • Go-Checksums 0.7%
  • Makefile 0.3%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sebastiaan van Stijn 526f63f14e
Merge pull request #7572 from Benehiko/registryauth-encoded-auth
cli/command: look up registry credentials through internal/registryauth
2026-12-04 16:27:19 +01:00
.github build(deps): bump the codeql-actions group with 3 updates 2026-12-03 08:42:47 +00:00
cli cli/command: look up registry credentials through internal/registryauth 2026-12-04 16:42:10 +02:00
cli-plugins fix: suppress printing the newline when a status error has no output 2026-11-24 10:37:25 -06:00
cmd cmd/docker: update the Windows icon to the new Docker logo 2026-11-18 13:13:41 -08:00
contrib manifest: add loong64 to manifest annotate bash completion 2026-10-30 11:25:59 +01:00
dockerfiles chore(deps): update docker/buildx-bin docker tag to v0.39.1 2026-12-03 12:22:12 +00:00
docs chore: update login to mention OATs 2026-11-20 09:44:07 -07:00
e2e internal/oauth: combine "web-based login" message with info note 2026-10-19 21:05:18 +02:00
experimental experimental: sync with actual features gated by experimental 2026-05-14 12:25:35 +02:00
internal cli/command: look up registry credentials through internal/registryauth 2026-12-04 16:42:10 +02:00
man docs: update examples for ubuntu LTS versions 2026-11-05 23:19:42 +01:00
opts opts: Reject duplicate shorthand GPU counts 2026-09-17 13:19:10 -03:00
pkg/kvfile move parsing key-value files to a separate package 2024-10-04 12:27:10 +02:00
scripts scripts/build: omit DWARF debug information by default 2026-10-29 19:06:26 +01:00
templates templates: preserve table headers when using index 2026-12-02 23:53:57 +01:00
vendor Merge pull request #7566 from thaJeztah/bump_cdi 2026-12-03 13:20:27 +01:00
.codecov.yml rename codecov.yml to .codecov.yml 2025-07-01 16:20:54 +02:00
.dockerignore move winresources into cmd/docker 2025-03-08 22:20:09 +01:00
.gitattributes fix: binary file line endings 2024-09-06 10:23:23 +02:00
.gitignore move winresources into cmd/docker 2025-03-08 22:20:09 +01:00
.golangci.yml Update to go1.27.4 2026-11-10 19:54:00 +01:00
.mailmap update AUTHORS and mailmap 2026-06-12 18:05:12 +02:00
AUTHORS update AUTHORS and mailmap 2026-06-12 18:05:12 +02:00
CONTRIBUTING.md docs: Clarify DCO identity guidance 2026-08-24 11:41:24 +02:00
docker-bake.hcl feat: add linux/riscv64 to bin-image-cross release target 2026-03-12 10:53:47 +01:00
docker.Makefile docker.Makefile: Use active context socket 2026-07-17 15:33:12 +02:00
Dockerfile chore(deps): update docker/compose-bin docker tag to v5.8.1 2026-12-03 13:07:13 +00:00
LICENSE Add project files 2017-04-17 17:49:33 -04:00
MAINTAINERS not actually a maintainer 2023-11-10 21:35:15 +01:00
Makefile make trust-plugin a separate module 2025-11-06 15:24:48 +01:00
NOTICE Removed all mentions of "please" from docs and messages 2024-06-11 16:53:40 +02:00
README.md README: remove Go Report Card badge 2026-07-09 01:03:31 +02:00
SECURITY.md add security policy 2024-08-05 11:58:34 +02:00
TESTING.md tweak description of login/logout 2022-04-04 10:44:11 +02:00
vendor.mod Merge pull request #7566 from thaJeztah/bump_cdi 2026-12-03 13:20:27 +01:00
vendor.sum Merge pull request #7566 from thaJeztah/bump_cdi 2026-12-03 13:20:27 +01:00
VERSION bump version to 29.11.0 2026-11-17 12:55:38 +01:00

Docker CLI

PkgGoDev Build Status Test Status OpenSSF Scorecard Codecov

About

This repository is the home of the Docker CLI.

Development

docker/cli is developed using Docker.

Build CLI from source:

docker buildx bake

Build binaries for all supported platforms:

docker buildx bake cross

Build for a specific platform:

docker buildx bake --set binary.platform=linux/arm64 

Build dynamic binary for glibc or musl:

USE_GLIBC=1 docker buildx bake dynbinary 

Run all linting:

docker buildx bake lint shellcheck

Run test:

docker buildx bake test

Run the unit test:

$ make -f docker.Makefile test-unit

Run the full test suite:

$ make -f docker.Makefile test

List all the available targets:

make help

In-container development environment

Start an interactive development environment:

make shell

Brought to you courtesy of our legal counsel. For more context, 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, see https://www.bis.doc.gov

Licensing

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