cli

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

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.