The Docker CLI
Перейти к файлу
Harald Albers 3292afe6e6 Add completion for `--userns`
Signed-off-by: Harald Albers <github@albersweb.de>
2024-11-08 15:55:59 +00:00
.github ci: update to go1.22.8 2024-10-04 20:20:16 +00:00
cli Add completion for `--userns` 2024-11-08 15:55:59 +00:00
cli-plugins
cmd/docker cmd/docker: add tests for flag-completions, and refactor 2024-10-18 11:23:55 +02:00
contrib/completion Fix bash completion for `events --filter daemon=` 2024-10-19 15:40:07 +00:00
dockerfiles ci: update to go1.22.8 2024-10-04 20:20:16 +00:00
docs vendor: github.com/docker/docker 36a3bd090489 (master, v28.0-dev) 2024-10-18 17:48:05 +02:00
e2e ci: update to go1.22.8 2024-10-04 20:20:16 +00:00
experimental
hack/otel
internal/test
man vendor: github.com/docker/docker 36a3bd090489 (master, v28.0-dev) 2024-10-18 17:48:05 +02:00
opts move parsing key-value files to a separate package 2024-10-04 12:27:10 +02:00
pkg/kvfile move parsing key-value files to a separate package 2024-10-04 12:27:10 +02:00
scripts vendor: github.com/docker/docker 36a3bd090489 (master, v28.0-dev) 2024-10-18 17:48:05 +02:00
service/logs
templates templates: add test for HeaderFunctions 2024-10-18 10:07:33 +02:00
vendor vendor: github.com/docker/docker 36a3bd090489 (master, v28.0-dev) 2024-10-18 17:48:05 +02:00
.dockerignore
.gitattributes
.gitignore
.golangci.yml
.mailmap
AUTHORS
CONTRIBUTING.md
Dockerfile ci: update to go1.22.8 2024-10-04 20:20:16 +00:00
LICENSE
MAINTAINERS
Makefile
NOTICE
README.md README: update pkg.go.dev badge, add OpenSSF scorecard 2024-10-12 22:12:38 +02:00
SECURITY.md
TESTING.md
VERSION Update `VERSION` file to `v27.3.1-dev` 2024-09-20 11:41:30 +01:00
codecov.yml
docker-bake.hcl ci: update to go1.22.8 2024-10-04 20:20:16 +00:00
docker.Makefile
vendor.mod vendor: github.com/docker/docker 36a3bd090489 (master, v28.0-dev) 2024-10-18 17:48:05 +02:00
vendor.sum vendor: github.com/docker/docker 36a3bd090489 (master, v28.0-dev) 2024-10-18 17:48:05 +02:00

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

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.