The Docker CLI
Go to file
Ian Campbell 0ab8ec0e4c Output broken CLI plugins in `help` output.
Signed-off-by: Ian Campbell <ijc@docker.com>
2019-01-30 13:45:26 +00:00
.github
cli Output broken CLI plugins in `help` output. 2019-01-30 13:45:26 +00:00
cli-plugins Allow plugins to make use of the cobra `PersistentPreRun` hooks. 2019-01-30 13:45:26 +00:00
cmd/docker Integrate CLI plugins with `docker «plugin» --help`. 2019-01-30 13:45:25 +00:00
contrib/completion
dockerfiles Add some simple e2e tests for executing CLI plugins 2019-01-30 13:44:05 +00:00
docs
e2e Output broken CLI plugins in `help` output. 2019-01-30 13:45:26 +00:00
experimental
internal
kubernetes
man
opts
scripts Add some simple e2e tests for executing CLI plugins 2019-01-30 13:44:05 +00:00
service/logs
templates
types
vendor
.dockerignore
.gitignore
.mailmap
AUTHORS
CONTRIBUTING.md
Jenkinsfile
LICENSE
MAINTAINERS
Makefile Add basic framework for writing a CLI plugin 2019-01-29 11:26:40 +00:00
NOTICE
README.md
TESTING.md
VERSION
appveyor.yml
circle.yml
codecov.yml
docker.Makefile Add basic framework for writing a CLI plugin 2019-01-29 11:26:40 +00:00
gometalinter.json
poule.yml
vendor.conf

README.md

build status Build Status

docker/cli

This repository is the home of the cli used in the Docker CE and Docker EE products.

Development

docker/cli is developed using Docker.

Build a linux binary:

$ make -f docker.Makefile binary

Build binaries for all supported platforms:

$ make -f docker.Makefile cross

Run all linting:

$ make -f docker.Makefile lint

List all the available targets:

$ make help

In-container development environment

Start an interactive development environment:

$ make -f docker.Makefile shell

In the development environment you can run many tasks, including build binaries:

$ make binary

Legal

Brought to you courtesy of our legal counsel. For more context, please 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, please 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.