The Docker CLI
Go to file
Sebastiaan van Stijn 0acb2522bd
Bump spf13/cobra to v0.0.3, spf13/pflag to v1.0.1
Use a tagged release of Cobra

Relevant changes:

- spf13/cobra#567 Add `CalledAs` method to cobra.Command
- spf13/cobra#580 Update error message for missing required flags
- spf13/cobra#584 Add support for --version flag
- spf13/cobra#614 If user has a project in symlink, just use its destination folder and work there
- spf13/cobra#649 terminates the flags when -- is found in commandline
- spf13/cobra#662 Add support for ignoring parse errors
- spf13/cobra#686 doc: hide hidden parent flags

Also various improvements were added for generating Bash
completion scripts (currently not used by us)

Bump spf13/pflag to v1.0.1

Relevant changes:

- spf13/pflag#122 DurationSlice: implementation and tests
- spf13/pflag#115 Implement BytesHex type of argument
- spf13/pflag#150 Add uintSlice and boolSlice to name prettifier
- spf13/pflag#155 Add multiline wrapping support
- spf13/pflag#158 doc: clarify difference between string slice vs. array
- spf13/pflag#160 add ability to ignore unknown flags
- spf13/pflag#163 Allow Users To Show Deprecated Flags

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-05-19 02:51:33 +02:00
.github Remove myself from CODEOWNERS 2018-03-26 13:39:03 -04:00
cli Merge pull request #1065 from thaJeztah/fix-kube-alignment 2018-05-18 14:54:42 +02:00
cmd/docker Small content trust enhancement 2018-03-14 17:55:19 +01:00
contrib/completion Minor fix: "stdin" instead of "stding" 2018-05-18 08:48:42 -05:00
dockerfiles Bump Golang to 1.10.2 2018-05-14 16:04:13 +02:00
docs Merge pull request #1063 from nkwangleiGIT/master 2018-05-18 11:34:17 +02:00
e2e Fix typo in golden file name 2018-05-15 10:09:47 +02:00
experimental fix a number of minor typos 2017-10-31 15:21:51 +05:00
internal/test Support 'all' in orchestrator flag for docker stack ls 2018-05-15 15:38:41 +02:00
kubernetes Make sure every composefiles sent to a v1beta1 endpoint are parsable 2018-05-09 13:17:25 -07:00
man fixed typo -- Signed-off-by: Lee Gaines <eightlimbed@gmail.com> 2018-05-08 14:46:42 -07:00
opts Warn when using host-ip for published ports 2018-04-21 12:49:47 -07:00
scripts Remove filewatcher 2018-03-20 20:13:27 -04:00
service/logs Convert assert.Check(t, is.Error()) to assert.Error 2018-03-06 16:00:28 -05:00
templates Convert assert.Check with 2018-03-06 15:43:53 -05:00
vendor Bump spf13/cobra to v0.0.3, spf13/pflag to v1.0.1 2018-05-19 02:51:33 +02:00
.dockerignore make go build and docker build operations faster 2017-04-27 15:06:57 -07:00
.gitignore Update gitignore 2017-09-27 16:45:35 +02:00
.mailmap Update AUTHORS and mailmap 2018-04-18 13:31:07 -07:00
AUTHORS Update AUTHORS and mailmap 2018-04-18 13:31:07 -07:00
CONTRIBUTING.md Add Contribution guidelines 2017-07-28 11:33:19 -07:00
Jenkinsfile Add a Jenkinsfile 2017-08-16 10:46:43 -04:00
LICENSE Add project files 2017-04-17 17:49:33 -04:00
MAINTAINERS Merge pull request #1013 from thaJeztah/update-authors 2018-04-18 13:46:30 -07:00
Makefile Fix vendor validation 2018-02-02 11:01:05 -08:00
NOTICE Add project files 2017-04-17 17:49:33 -04:00
README.md Add jenkins build status to readme 2017-09-15 15:08:28 +02:00
TESTING.md Add TESTING document. 2017-08-24 14:45:50 -04:00
VERSION Bump version to 18.06.0-dev 2018-05-02 12:11:23 +02:00
appveyor.yml Add appveyor setup to build and unit test 2018-03-07 18:14:10 +01:00
circle.yml Fix some build failures 2017-12-26 11:22:32 +01:00
codecov.yml Fix PR comments 2018-01-03 10:23:32 +01:00
docker.Makefile Add dockerfile for building on non-amd64 platforms 2018-01-18 13:16:58 -05:00
gometalinter.json Add support for kubernetes in docker cli 2017-12-26 11:22:32 +01:00
poule.yml Add github templates and initial poule configuration 2017-05-09 16:57:46 +02:00
vendor.conf Bump spf13/cobra to v0.0.3, spf13/pflag to v1.0.1 2018-05-19 02:51:33 +02:00

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.