cli

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

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.