cli

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

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.