No description
  • Go 92%
  • Shell 5.4%
  • Dockerfile 1.1%
  • Go-Checksums 0.9%
  • Makefile 0.3%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paweł Gronowski 7a54334eb0
Merge pull request #7082 from thaJeztah/prompt_cleans_step1
internal/prompt: Confirm: don't wrap stdIn
2026-07-20 17:29:42 +02:00
.github build(deps): bump the codeql-actions group with 3 updates 2026-07-15 08:46:00 +00:00
cli cli/registry: support password dash stdin 2026-06-12 16:15:23 +02:00
cli-plugins cli-plugins/hooks: limit maximum number of lines / messages 2026-05-07 17:09:52 +02:00
cmd build(deps): bump golang.org/x/crypto 2026-07-08 09:15:41 +00:00
contrib Merge pull request #2783 from pmorch/zsh-completion-gitlab-url 2026-05-14 12:20:45 +02:00
dockerfiles update to go1.26.5 2026-07-08 00:01:42 +02:00
docs cli/registry: support password dash stdin 2026-06-12 16:15:23 +02:00
e2e e2e: add private registry pull/push regression test 2026-06-13 00:22:00 +05:30
experimental experimental: sync with actual features gated by experimental 2026-05-14 12:25:35 +02:00
internal internal/prompt: Confirm: don't wrap stdIn 2026-07-07 14:19:44 +02:00
man man: remove tools.go in favor of tools directive 2026-06-10 11:37:02 +02:00
opts refactor parsing restart-policies 2026-05-11 10:41:13 +02:00
pkg/kvfile move parsing key-value files to a separate package 2024-10-04 12:27:10 +02:00
scripts Merge pull request #7007 from lohitkolluri/e2e/private-registry-pull-push-5965 2026-07-16 14:18:00 +02:00
templates update minimum go version to go1.25 2026-04-01 00:19:04 +02:00
vendor vendor: github.com/moby/sys/user v0.4.1 2026-06-25 21:31:42 +02: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.26.5 2026-07-08 00:01:42 +02: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: fix stale links in CONTRIBUTING.md 2026-05-14 13:45:02 +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 update to go1.26.5 2026-07-08 00:01:42 +02: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 vendor: github.com/moby/sys/user v0.4.1 2026-06-25 21:31:42 +02:00
vendor.sum vendor: github.com/moby/sys/user v0.4.1 2026-06-25 21:31:42 +02:00
VERSION bump VERSION to v29.7.0-dev 2026-06-30 16:31:14 +02: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.