The Docker CLI
Go to file
Sebastiaan van Stijn 70a29b492d
Add "pid" to unsupported options list
Services do not support custom "pid"-modes (e.g. `--pid=host`), but this
option was ignored silently when deploying a stack.

This patch adds `pid` to the list of unsupported options so that a warning
is printed;

With this patch applied:

    $ docker stack deploy -c docker-compose.yml foobar
    Ignoring unsupported options: pid

    Creating network foobar_default
    Creating service foobar_test

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-27 12:45:42 +01:00
.github Update Misty's GitHub handle 2017-11-02 16:50:38 +01:00
cli Add "pid" to unsupported options list 2017-12-27 12:45:42 +01:00
cmd/docker Add support for experimental Cli configuration 2017-12-22 14:48:47 +01:00
contrib/completion Merge pull request #713 from albers/completion-512 2017-12-15 16:33:41 -05:00
dockerfiles Bump Go to 1.9.2 2017-11-29 09:16:03 +01:00
docs Remove reference to non-existing "stack config" command 2017-12-26 16:47:45 +01:00
e2e Add support for experimental Cli configuration 2017-12-22 14:48:47 +01:00
experimental fix a number of minor typos 2017-10-31 15:21:51 +05:00
internal/test Move notary to its new location 2017-10-30 17:21:41 +01:00
man Update docs and completion-scripts for deprecated features 2017-12-12 17:09:38 -08:00
opts Add nakedret linter. 2017-10-12 11:48:51 -04:00
scripts Add platform and its components to docker version output 2017-12-07 02:04:10 +01:00
service/logs Use a local copy of ParseLogDetails 2017-09-07 12:50:25 -04:00
templates Sort component details in template 2017-12-07 02:04:10 +01:00
vendor vendor moby api to get new version types 2017-12-07 02:04:10 +01:00
.dockerignore make go build and docker build operations faster 2017-04-27 15:06:57 -07:00
.gitignore Add scripts and targets for manpages and yamldocs 2017-06-05 19:10:44 +00: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 Update Misty's GitHub handle 2017-11-02 16:50:38 +01:00
Makefile Add a way to just build windows and osx 2017-09-19 16:48:31 -07: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.01-dev 2017-12-07 13:58:06 -08:00
circle.yml Set DISABLE_WARN_OUTSIDE_CONTAINER in the Dockerfile so that we don't spend 10s sleeping in CI 2017-08-15 14:34:43 -04:00
codecov.yml Update codecov project threshold to 15% 2017-06-07 13:26:24 +02:00
docker.Makefile Add platform and its components to docker version output 2017-12-07 02:04:10 +01:00
gometalinter.json Update gometalinter 2017-10-26 12:21:02 -04:00
poule.yml Add github templates and initial poule configuration 2017-05-09 16:57:46 +02:00
vendor.conf vendor moby api to get new version types 2017-12-07 02:04:10 +01: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.