1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00
Commit Graph

2513 Commits

Author SHA1 Message Date
Gary Schaetz
1d760fc60d Update attach.md
added some clarification around why attach can appear hung to some.  issue #1456 on docs

Signed-off-by: gary schaetz <gary@schaetzkc.com>

Updated the documentation to reflect what happens when you use a fragment in
the docker build url parameter.

Signed-off-by: Gary Schaetz <gary@schaetzkc.com>

added markup for commands

Signed-off-by: Gary Schaetz <gary@schaetzkc.com>
Upstream-commit: 80a7f5dec7
Component: cli
2017-06-02 00:11:04 +00:00
MichaelSpets
69b02c5a33 Add doc for system events and events[Fix #32748]
Signed-off-by: MichaelSpets <michael_spets@hotmail.com>
Upstream-commit: 824c665811
Component: cli
2017-06-02 00:11:04 +00:00
David Sheets
d8cd6f9925 docs/dockerd: correct authz plugin chain semantics
Signed-off-by: David Sheets <dsheets@docker.com>
Upstream-commit: 24b6f3cd6e
Component: cli
2017-06-02 00:11:04 +00:00
yuexiao-wang
b2bd413ffa fix some typos for plugin
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 079bc9c7aa
Component: cli
2017-06-02 00:11:04 +00:00
Sebastiaan van Stijn
f006cb74fe Deprecate "asynchronous" service create and service update
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 7480fcad48
Component: cli
2017-06-02 00:11:04 +00:00
Denis Defreyne
11fe4742fb Clarify --env-file usage with names without values
Signed-off-by: Denis Defreyne <denis@soundcloud.com>
Upstream-commit: d24201d734
Component: cli
2017-06-02 00:11:04 +00:00
Michael Friis
e81f095ee1 fix typo in plugins_logging.md
Signed-off-by: Michael Friis <friism@gmail.com>
Upstream-commit: 542af38ce5
Component: cli
2017-06-02 00:11:04 +00:00
Dong Chen
f54540bc34 do not allow duration less than 1 ms in healthcheck parameters
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
Upstream-commit: 1fa8221743
Component: cli
2017-06-02 00:11:04 +00:00
Harald Albers
c2585247a2 Add bash completion for stack ls --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 513ea82edd
Component: cli
2017-06-02 00:11:04 +00:00
Harald Albers
aa463e4b97 Add bash completion for system df --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3e646fed80
Component: cli
2017-06-02 00:11:04 +00:00
yuexiao-wang
ea8bb1038b fix errors in config
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 852a861b8e
Component: cli
2017-06-02 00:11:04 +00:00
Harald Albers
06257c0fd3 Add missing bash completion for docker attach
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 509b7f82b6
Component: cli
2017-06-02 00:11:04 +00:00
Harald Albers
e5350e21b4 Remove bash completion for run|create --init-path
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 40d3bb4985
Component: cli
2017-06-02 00:11:04 +00:00
Harald Albers
2af47ea3bf Add bash completion for history --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 38dcfad556
Component: cli
2017-06-02 00:11:04 +00:00
Flavio Crisciani
81790c00c8 Inroduce SWARM --data-path-addr flag
This new flag will allow the configuration of an interface that
can be used for data path traffic to be isolated from control
plane traffic. This flag is simply percolated down to libnetwork
and will be used by all the global scope drivers (today overlay)

Negative test added for invalid flag arguments

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
Upstream-commit: 137a190a79
Component: cli
2017-06-02 00:11:04 +00:00
Julien Kassar
adb2595ded Update legacy_plugins.md to include HBM authz plugin
Signed-off-by: Julien Kassar <github@kassisol.com>
Upstream-commit: ba5a2dc787
Component: cli
2017-06-02 00:11:04 +00:00
Boaz Shuster
4dee681848 Add format to docker stack ls
Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
Upstream-commit: 5be9e57c51
Component: cli
2017-06-02 00:11:03 +00:00
Julien Maitrehenry
3412b213bc Clarify where the RUN command runs from
Also, chained/quoted shell does not work

Signed-off-by: Julien Maitrehenry <julien.maitrehenry@me.com>
Upstream-commit: 33fecab492
Component: cli
2017-06-02 00:11:03 +00:00
Antonio Murdaca
f495b2a68e remove --init-path from client
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream-commit: 4977ec1cca
Component: cli
2017-06-02 00:11:03 +00:00
Harald Albers
4e3663be74 Remove bogus statement from bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8ea7724f64
Component: cli
2017-06-02 00:11:03 +00:00
Alvin Deng
7802f53667 Update dockerd.md
Signed-off-by: Alvin Deng <alvin.q.deng@utexas.edu>
Upstream-commit: 65cf6dd611
Component: cli
2017-06-02 00:11:03 +00:00
Alvin Deng
2261e89bcf Add examples of storage-opts and log-opts for the daemon
Signed-off-by: Alvin Deng <alvin.q.deng@utexas.edu>
Upstream-commit: d2295d58b2
Component: cli
2017-06-02 00:11:03 +00:00
Sebastiaan van Stijn
7e9087ff05 Minor fixups for history CLI reference
This does some minor fix-ups in the CLI reference
for "history", and copies the formattting section to
the man-pages.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 275d8ab8de
Component: cli
2017-06-02 00:11:03 +00:00
Sebastiaan van Stijn
de68965d62 Fix markdown indentation level
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 8ca20aee9f
Component: cli
2017-06-02 00:11:03 +00:00
Jeremy Chambers
28a0a6d2c7 Implements --format option for docker history command by creating a formatter
Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>

Adds to history documentation for --format

Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>

Adds MarshalJSON to historyContext for {{json .}} format

Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>

Adds back the --human option to history command

Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>

Cleans up formatter around --human option for history, Adds integration test for --format option of history

Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>

Adds test for history formatter checking full table results, Runs go fmt on touched files

Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>

Fixes lint errors in formatter/history

Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>

Runs go fmt on cli/command/formatter/history.go

Signed-off-by: Jeremy Chambers <jeremy@thehipbot.com>

sRemoves integration test for --format option of history

Merges Created and CreatedSince in docker history formatter, Updates docs and tests
Upstream-commit: aa124aee73
Component: cli
2017-06-02 00:11:03 +00:00
Boaz Shuster
8530cbe276 Add format to the docker system df command
Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
Upstream-commit: 9e2467d474
Component: cli
2017-06-02 00:11:03 +00:00
Harald Albers
cc04f0bef8 Bash completion treats service logs as stable
Implements the following new CLI features:
- service logs is no longer experimental
- service logs also accepts task IDs

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 24d7795c2c
Component: cli
2017-06-02 00:11:03 +00:00
Corey Farrell
6674e3a1f5 Fix bash-completion script.
bash-completion script for 'docker build --network' calls
__docker_plugins, the correct name for this function is
__docker_plugins_bundled.

Closes #32588

Signed-off-by: Corey Farrell <git@cfware.com>
Upstream-commit: 0e75012be1
Component: cli
2017-06-02 00:11:03 +00:00
Yong Tang
fb921da04c Update docs of label filter for docker system prune
This fix updates docs of `label` filter for `docker system prune`.

This fix is related to #30740 and #29999, and specifically to comment
https://github.com/docker/docker/pull/30740#issuecomment-293012957.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 40bb4a3b0e
Component: cli
2017-06-02 00:11:03 +00:00
yuexiao-wang
797a7f455c Fix inconsisticy for service logs
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: fcdc75de3e
Component: cli
2017-06-02 00:11:03 +00:00
Joao Fernandes
a0c49cf7f4 Clean docker run -e reference docs
Simplified the docs on how to set environment variables in a
container. Makes it clear that you have three options, and how
to use them.

Signed-off-by: Joao Fernandes <joao.fernandes@docker.com>
Upstream-commit: 66cfdff646
Component: cli
2017-06-02 00:11:03 +00:00
Daniel Nephin
256568f159 Add docs for reading Dockerfile from stdin.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 71b0f91129
Component: cli
2017-06-02 00:11:03 +00:00
Daniel Nephin
9e2302a5ae Add Dockerfile reference docs for using ARG in FROM
Also fixed some examples of using `docker build` to clarify that the
positional argument is a directory, not a file.

Also fixed some terminology. Dockerfiles contain instructions, not directives or
commands.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 6e40868ade
Component: cli
2017-06-02 00:11:03 +00:00
Aaron Lehmann
af4c3ad361 Make the CLI show defaults from the swarmkit defaults package
If no fields related to an update config or restart policy are
specified, these structs should not be created as part of the service,
to avoid hardcoding the current defaults.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 91ca194713
Component: cli
2017-06-02 00:11:03 +00:00
Harald Albers
193605c9b2 Bash completion supports multiple stacks in stack rm
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 50ea10e293
Component: cli
2017-06-02 00:11:03 +00:00
Drew Erny
c040c93b7d Remove experimental from service logs
Service logs API is now stable. Service logs now support all features,
except retrieving details provided to the log driver.

Signed-off-by: Drew Erny <drew.erny@docker.com>
Upstream-commit: 279bbbab27
Component: cli
2017-06-02 00:11:02 +00:00
Alfred Landrum
3dc1ae6e35 Let graphdrivers declare diff stream fidelity
This allows graphdrivers to declare that they can reproduce the original
diff stream for a layer. If they do so, the layer store will not use
tar-split processing, but will still verify the digest on layer export.
This makes it easier to experiment with non-default diff formats.

Signed-off-by: Alfred Landrum <alfred.landrum@docker.com>
Upstream-commit: 4b8712eacb
Component: cli
2017-06-02 00:11:02 +00:00
Arash Deshmeh
35af017374 stack rm should accept multiple arguments
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
Upstream-commit: 98bcbcf774
Component: cli
2017-06-02 00:11:02 +00:00
Vincent Demeester
124cf590f2 Merge pull request #31848 from thaJeztah/17.04.0-changelog-updates
[17.04.x] deprecation and changelog updates
(cherry picked from commit f15f5937514c386ace40a43441dddc28337ca12d)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 0dc44cd964
Component: cli
2017-06-02 00:11:02 +00:00
Harald Albers
222458ca3f Add bash completion for node ls --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e3cab9a751
Component: cli
2017-06-02 00:11:02 +00:00
Brian Goff
672083e3c3 Implement plugins for logging drivers
Logging plugins use the same HTTP interface as other plugins for basic
command operations meanwhile actual logging operations are handled (on
Unix) via a fifo.

The plugin interface looks like so:

```go
type loggingPlugin interface {
  StartLogging(fifoPath string, loggingContext Context) error
  StopLogging(fifoPath)
```

This means a plugin must implement `LoggingDriver.StartLogging` and
`LoggingDriver.StopLogging` endpoints and be able to consume the passed
in fifo.

Logs are sent via stream encoder to the fifo encoded with protobuf.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 114cc6ca3a
Component: cli
2017-06-02 00:11:02 +00:00
Harald Albers
1162d737fe Add bash completion for update --cpus
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0d4b2350fb
Component: cli
2017-06-02 00:11:02 +00:00
Yong Tang
963782f121 Add --cpus support for docker update
This fix tries to address the issue raised in 31032 where it was
not possible to specify `--cpus` for `docker update`.

This fix adds `--cpus` support for `docker update`. In case both
`--cpus` and `--cpu-period/--cpu-quota` have been specified,
an error will be returned.

Related docs has been updated.

Integration tests have been added.

This fix fixes 31032.

This fix is related to 27921, 27958.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: f2933f6ea6
Component: cli
2017-06-02 00:11:02 +00:00
Mike Casas
c3b0801303 Added word to documentation
Improved documentation by adding word for better sentence structure.

Signed-off-by: Mike Casas <mkcsas0@gmail.com>
Upstream-commit: 8abc802de9
Component: cli
2017-06-02 00:11:02 +00:00
Tonis Tiigi
c16846922d Add docs for named build stages
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: 29dd51d2a8
Component: cli
2017-06-02 00:11:02 +00:00
Aaron Lehmann
cb45fef45d cli: Allow service's networks to be updated
Resolve networks IDs on the client side.

Avoid filling in deprecated Spec.Networks field.

Sort networks in the TaskSpec for update stability.

Add an integration test for changing service networks.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: fc6428390a
Component: cli
2017-06-02 00:11:02 +00:00
Victor Vieux
91733928a1 clarify docker plugin set docs
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Upstream-commit: 051ff3b303
Component: cli
2017-06-02 00:11:02 +00:00
Aaron Lehmann
bf4beaf856 Add support for update order
This parameter controls the order of operations when rolling out an
update task. Either the old task is stopped before starting the new one,
or the new task is started first, and the running tasks will briefly
overlap.

This commit adds Rollout to the API, and --update-order / --rollback-order
flags to the CLI.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: e434a91221
Component: cli
2017-06-02 00:11:02 +00:00
Elias Faxö
429d548d41 Added start period option to health check.
Signed-off-by: Elias Faxö <elias.faxo@gmail.com>
Upstream-commit: c5071b94da
Component: cli
2017-06-02 00:11:02 +00:00
Pratik Karki
30106d6b7c updated Readme.md with fixed deadlinks
Signed-off-by: prertik <prertik@outlook.com>
Upstream-commit: 4273ca3678
Component: cli
2017-06-02 00:11:02 +00:00