The Docker CLI
Go to file
Sebastiaan van Stijn 86b5b528a6
internal/registry: ParseRepositoryInfo: remove unused error return
Removed the error return from the `ParseRepositoryInfo` function.
There are no validation steps inside `ParseRepositoryInfo` which
could cause an error, so we always returned a nil error.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-07-29 18:32:15 +02:00
.github update to go1.24.5 2025-07-08 19:23:57 +02:00
cli internal/registry: ParseRepositoryInfo: remove unused error return 2025-07-29 18:32:15 +02:00
cli-plugins vendor: github.com/docker/docker master (v29.0-dev) 2025-07-21 23:04:50 +02:00
cmd/docker remove aliases for containerd/errdefs, disallow docker/errdefs 2025-07-28 14:55:43 +02:00
contrib build: remove DCT support for classic builder 2025-07-21 19:05:38 +02:00
dockerfiles Dockerfile: install git-daemon for use in tests 2025-07-16 16:48:40 +02:00
docs Merge pull request #6126 from ctalledo/fix-for-moby-48759 2025-07-24 11:48:11 +02:00
e2e vendor: github.com/docker/docker master (v29.0-dev) 2025-07-21 23:04:50 +02:00
experimental
internal internal/registry: ParseRepositoryInfo: remove unused error return 2025-07-29 18:32:15 +02:00
man man: rewrite to use cli-docs-tool manpage generator 2025-03-25 17:07:40 +01:00
opts vendor: github.com/docker/docker master (v29.0-dev) 2025-07-21 23:04:50 +02:00
pkg/kvfile
scripts set CGO_ENABLED=1 on loong64 2025-04-16 14:52:19 +08:00
templates templates: deprecate NewParse() 2025-07-28 08:25:02 +02:00
vendor cli/command/formatter: use alias/wrapper for TruncateID 2025-07-28 08:50:15 +02:00
.codecov.yml rename codecov.yml to .codecov.yml 2025-07-01 16:20:54 +02:00
.dockerignore
.gitattributes
.gitignore
.golangci.yml remove aliases for containerd/errdefs, disallow docker/errdefs 2025-07-28 14:55:43 +02:00
.mailmap update .mailmap and authors 2025-05-16 12:58:03 +02:00
AUTHORS update .mailmap and authors 2025-05-16 12:58:03 +02:00
CONTRIBUTING.md
Dockerfile Dockerfile: install git-daemon for use in tests 2025-07-16 16:48:40 +02:00
LICENSE
MAINTAINERS
Makefile rewrite using "with-go-mod.sh" script and "go run" 2025-03-21 00:36:47 +01:00
NOTICE
README.md
SECURITY.md
TESTING.md
VERSION bump version to v28.3.0-dev 2025-06-13 14:11:56 +02:00
docker-bake.hcl update to go1.24.5 2025-07-08 19:23:57 +02:00
docker.Makefile
vendor.mod vendor: update docker, api, client to master 2025-07-28 08:50:13 +02:00
vendor.sum vendor: update docker, api, client to master 2025-07-28 08:50:13 +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.