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.