cli

Sebastiaan van Stijn 61c6818f0b Merge pull request #6026 from vvoland/vendor-docker 1 week ago
.github 64413c20ef update to go1.23.8 (fix CVE-2025-22871) 3 weeks ago
cli 4d8c241ff0 Merge pull request #6018 from thaJeztah/use_api_socket_no_empty 1 week ago
cli-plugins 1d768f8983 update go:build tags to go1.23 to align with vendor.mod 1 week ago
cmd 1d768f8983 update go:build tags to go1.23 to align with vendor.mod 1 week ago
contrib dbc5cf67eb Merge pull request #5740 from akerouanton/fluentd-async-connect-removal 3 months ago
dockerfiles 2dcc881d4d Dockerfile: update buildx to v0.23.0 1 week ago
docs 1a502e91c9 run: flag to include the Docker API socket 1 week ago
e2e 56c2fa6c0e e2e/cli-plugins: use regexp.Compile to prevent panic in tests 2 weeks ago
experimental 0bc092496f deprecate experimental graphdriver plugins 10 months ago
hack e1dcc194e3 OTEL collector/prometheus/aspire-dashboard stack for testing purposes 1 year ago
internal 1d768f8983 update go:build tags to go1.23 to align with vendor.mod 1 week ago
man 80bca8eb1d man: rewrite to use cli-docs-tool manpage generator 1 month ago
opts e937b52210 Merge pull request #5953 from thaJeztah/opts_remove_deprecated 2 weeks ago
pkg 9ecfe4f5a7 move parsing key-value files to a separate package 6 months ago
scripts 2b28bb649b set CGO_ENABLED=1 on loong64 1 week ago
templates 1d768f8983 update go:build tags to go1.23 to align with vendor.mod 1 week ago
vendor f3deb28111 vendor: github.com/docker/docker v28.1.1 1 week ago
.dockerignore 44e5100232 move winresources into cmd/docker 1 month ago
.gitattributes 4a6ab2b37d fix: binary file line endings 7 months ago
.gitignore 44e5100232 move winresources into cmd/docker 1 month ago
.golangci.yml 4c820d3ac0 golangci-lint: add forbidigo rules to prevent regex.MustCompile 2 weeks ago
.mailmap 443617c0f1 update mailmap and AUTHORS 10 months ago
AUTHORS 443617c0f1 update mailmap and AUTHORS 10 months ago
CONTRIBUTING.md 4a219b1a41 chore: update commit guidelines in CONTRIBUTING.md 5 months ago
Dockerfile 9cd35577fc Dockerfile: update compose to v2.35.1 1 week ago
LICENSE f2559aa2e0 Add project files 8 years ago
MAINTAINERS b7c31c36fa not actually a maintainer 1 year ago
Makefile 535bb6c85c rewrite using "with-go-mod.sh" script and "go run" 1 month ago
NOTICE e06ef800fc Removed all mentions of "please" from docs and messages 10 months ago
README.md a58faf7971 README: update pkg.go.dev badge, add OpenSSF scorecard 6 months ago
SECURITY.md e29292f921 add security policy 8 months ago
TESTING.md bcd4101f3d tweak description of login/logout 3 years ago
VERSION 7e83ff7735 bump version to v28.0.0-dev 2 months ago
codecov.yml 7b9580df51 Drop support for (archived) Compose-on-Kubernetes 3 years ago
docker-bake.hcl 64413c20ef update to go1.23.8 (fix CVE-2025-22871) 3 weeks ago
docker.Makefile c26090bd3e workflow/e2e: only run experimental daemon 1 month ago
vendor.mod f3deb28111 vendor: github.com/docker/docker v28.1.1 1 week ago
vendor.sum f3deb28111 vendor: github.com/docker/docker v28.1.1 1 week ago

README.md

Docker CLI

PkgGoDev Build Status Test Status Go Report Card 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

List all the available targets:

make help

In-container development environment

Start an interactive development environment:

make -f docker.Makefile shell

Legal

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.