cli

module
v27.3.1-patch2+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2024 License: Apache-2.0

README

Docker CLI

PkgGoDev Build Status Test Status Go Report Card 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.

Directories

Path Synopsis
cli
command
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/config
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/container
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/context
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/formatter
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/idresolver
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/image
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/inspect
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/network
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/node
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/plugin
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/secret
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/service
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/stack/loader
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/system
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/trust
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
command/volume
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
compose/interpolation
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
compose/loader
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
compose/schema
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
compose/template
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
compose/types
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
connhelper
Package connhelper provides helpers for connecting to a remote daemon host with custom logic.
Package connhelper provides helpers for connecting to a remote daemon host with custom logic.
connhelper/commandconn
Package commandconn provides a net.Conn implementation that can be used for proxying (or emulating) stream via a custom command.
Package commandconn provides a net.Conn implementation that can be used for proxying (or emulating) stream via a custom command.
connhelper/ssh
Package ssh provides the connection helper for ssh:// URL.
Package ssh provides the connection helper for ssh:// URL.
context/store
Package store provides a generic way to store credentials to connect to virtually any kind of remote system.
Package store provides a generic way to store credentials to connect to virtually any kind of remote system.
internal/oauth/api
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
winresources
Package winresources is used to embed Windows resources into docker.exe.
Package winresources is used to embed Windows resources into docker.exe.
cli-plugins
manager
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
cmd
e2e
internal
test
Package test is a test-only package that can be used by other cli package to write unit test.
Package test is a test-only package that can be used by other cli package to write unit test.
test/builders
Package builders helps you create struct for your unit test while keeping them expressive.
Package builders helps you create struct for your unit test while keeping them expressive.
pkg
kvfile
Package kvfile provides utilities to parse line-delimited key/value files such as used for label-files and env-files.
Package kvfile provides utilities to parse line-delimited key/value files such as used for label-files and env-files.
service
logs
Package logs contains tools for parsing docker log lines.
Package logs contains tools for parsing docker log lines.
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:
FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL