Daniel Nephin
718a245b6e
Merge pull request #713 from albers/completion-512
...
Fix #512 Bash autocompletion works incorrect with inspect
2017-12-15 16:33:41 -05:00
Harald Albers
f2b42bb6a8
Simplify bash completion for service options
...
Previously, the completions for `--xxx` and the corresponding
`-xxx-add` and `-xxx-rm` options were defined in separate blocks.
This caused a lot of duplicated code.
This PR removes duplication for xxx=config|group|host|placement-pref|secret.
Now the blocks for `create` and `update` only contain completions for
options that either only exist for the particular command or are specific
to it (completions for `--env-rm` and `--env|env-add` differ).
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 13:49:42 +01:00
Harald Albers
d149c93c0c
Fix bash completion for service env, mounts and labels
...
`service create` and `service update` both used to have `--env`, `--label`
and `--mount` options.
These options now are only valid for `service create`.
`service update` got corresponding `--xxx-add|rm` options instead.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 13:49:42 +01:00
Sebastiaan van Stijn
69b11daa77
Merge pull request #753 from thaJeztah/image-shortid
...
Updated deprecation status for "repository:shortid"
2017-12-15 01:35:11 -08:00
Sebastiaan van Stijn
8684b99923
Merge pull request #749 from albers/completion--generic-resource
...
Add support for generic resources to bash completion
2017-12-15 01:08:42 -08:00
Harald Albers
8ec80eec67
Add support for generic resources to bash completion
...
Adds bash completion for
- `service create --generic-resource`
- `service update --generic-resource-(add|rm)`
- `dockerd --node-generic-resource`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 08:56:14 +01:00
Sebastiaan van Stijn
ee3ffd6540
Merge pull request #751 from ktrysmt/fix/zsh-completions
...
Fix error in zsh completion script for docker exec
2017-12-14 14:33:04 -08:00
Sebastiaan van Stijn
1a21ca12a6
Updated deprecation status for "repository:shortid"
...
The `repository:shortid` syntax for referencing images is very little used,
collides with with tag references can be confused with digest references.
The `repository:shortid` notation was deprecated in Docker 1.13, and scheduled
for removal in Docker 17.12.
This patch updates the deprecation status for this feature.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-14 14:23:17 -08:00
Sebastiaan van Stijn
1d54f30cbb
Merge pull request #754 from thaJeztah/fix-on-failure
...
Fix "on-failure" restart policy being documented as "failure"
2017-12-14 14:20:43 -08:00
Sebastiaan van Stijn
43217d7332
Fix "on-failure" restart policy being documented as "failure"
...
Commit ddadd3db49
refactored
the markdown documentation, but accidentally changed
`on-failure` to `failure`.
This patch corrects this change.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-14 13:50:56 -08:00
Sebastiaan van Stijn
6a2b9d0267
Merge pull request #748 from thaJeztah/fix-storage-driver-anchors
...
Fix anchors to "Storage driver options"
2017-12-13 09:53:05 -08:00
ktrysmt
db05d8ad79
Fixed #750
...
Signed-off-by: Kotaro Yoshimatsu <kotaro.yoshimatsu@gmail.com>
2017-12-13 17:45:14 +09:00
Sebastiaan van Stijn
619c40fac5
Merge pull request #747 from thaJeztah/17.12-update-deprecated
...
Update docs and completion-scripts for deprecated features
2017-12-13 00:02:26 -08:00
Sebastiaan van Stijn
29ae8cf0e0
Merge pull request #746 from lachlancooper/master
...
Correct references to --publish long syntax in docs
2017-12-12 17:31:09 -08:00
Sebastiaan van Stijn
630f8b1254
Fix anchors to "Storage driver options"
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-12 17:27:05 -08:00
Sebastiaan van Stijn
a119e39f0c
Update docs and completion-scripts for deprecated features
...
- the `--disable-legacy-registry` daemon flag was removed
- duplicate keys with conflicting values for engine labels
now produce an error instead of a warning.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-12 17:09:38 -08:00
Lachlan Cooper
90f44e564b
Correct references to --publish long syntax in docs
...
This is the same issue as described at docker/docker.github.io#5370
Signed-off-by: Lachlan Cooper <lachlancooper@gmail.com>
2017-12-13 10:25:43 +11:00
Sebastiaan van Stijn
eb5e32e78c
Merge pull request #743 from dnephin/compose-add-name-to-network
...
Fix external networks in stacks
2017-12-11 19:26:55 -08:00
Daniel Nephin
9da2602f38
Fix external networks
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-12-11 11:29:49 -05:00
Vincent Demeester
29d3510d50
Merge pull request #741 from thaJeztah/bump-version
...
Bump version to 18.01-dev
2017-12-08 09:04:04 +01:00
Sebastiaan van Stijn
c4875264a3
Bump version to 18.01-dev
...
The 17.12.0-rc1 release was cut-off from commit
ace5417954
This patch bumps the version to 18.01-dev to
indicate that any change is now for the upcoming
18.01 release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-07 13:58:06 -08:00
Victor Vieux
ace5417954
Merge pull request #736 from tiborvass/platform-version
...
Add platform and its components to docker version output
2017-12-06 17:31:05 -08:00
Brian Goff
7138d6e301
Sort component details in template
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-12-07 02:04:10 +01:00
Tibor Vass
5f4c5f8bb6
Add platform and its components to docker version output
...
The Server section of version output is now composed of an Engine
component and potentially more, based on what the /version endpoint
returns.
Signed-off-by: Tibor Vass <tibor@docker.com>
2017-12-07 02:04:10 +01:00
Tibor Vass
fe3941af7d
vendor moby api to get new version types
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2017-12-07 02:04:10 +01:00
Sebastiaan van Stijn
8053cf67e0
Merge pull request #726 from albers/completion-log-opt-line-only
...
Add bash completion for `--log-opt line-only`
2017-12-06 16:04:26 -08:00
Sebastiaan van Stijn
143f9f0336
Merge pull request #730 from BretFisher/729-fix-zsh-node-and-stack-names
...
Fixing zsh column finding in nodes and stacks.
2017-12-06 16:03:20 -08:00
Brian Goff
ddec67c34e
Merge pull request #733 from thaJeztah/sync-runc
...
Bump runc to b2567b37d7b75eb4cf325b77297b140ea686ce8f
2017-12-06 16:46:33 -05:00
Sebastiaan van Stijn
4a4db7f20c
Merge pull request #734 from shin-/schema_35_build_shm_size
...
Add shm_size property to build configuration in Compose schema
2017-12-06 13:35:14 -08:00
Joffrey F
88bbaca294
Add missing additionalProperties marker on mount definitions
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-06 12:37:38 -08:00
Joffrey F
e49f14cf36
Add shm_size property to build configuration in Compose schema
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-06 12:34:12 -08:00
Sebastiaan van Stijn
669b8507be
Bump runc to b2567b37d7b75eb4cf325b77297b140ea686ce8f
...
To match what's used in Moby
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-06 11:09:36 -08:00
Sebastiaan van Stijn
86653f4d57
Merge pull request #732 from ndeloof/8917
...
closes #8917 introduce `—workdir` option for docker exec
2017-12-06 10:51:33 -08:00
Sebastiaan van Stijn
30755cf340
Merge pull request #711 from dnephin/compose-add-name-to-network
...
Support network.name in the compose schema
2017-12-06 10:44:03 -08:00
Nicolas De Loof
798ec76223
update docker/docker for ExecConfig WorkingDir support
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2017-12-06 19:04:42 +01:00
Nicolas De Loof
8dc88ea7b5
Annotate worker option for 1.35 API
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2017-12-06 17:24:01 +01:00
Nicolas De Loof
da6b8cb5de
Because the option takes an argument, a special treatment is required in the preceding case
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2017-12-06 17:24:01 +01:00
Nicolas De Loof
591a1273fd
introduce `—workdir` option for docker exec
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2017-12-06 17:24:01 +01:00
Daniel Nephin
d0b8aa7701
Support network.name in the compose schema.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-12-06 10:05:24 -05:00
Sebastiaan van Stijn
ea854237aa
Merge pull request #724 from dungeonmaster18/723-auto-complete-command
...
Added auto complete command for fluentd-sub-second-precision.
2017-12-05 10:29:39 -08:00
Bret Fisher
8b6d6fa974
Fixing zsh column finding in nodes and stacks.
...
Signed-off-by: Bret Fisher <bret@bretfisher.com>
2017-12-05 01:03:25 -05:00
Sebastiaan van Stijn
83cdc0f1bd
Merge pull request #704 from albers/completion--platform
...
Add bash completion for `--platform`
2017-12-04 13:19:37 -08:00
Harald Albers
0798d71f38
Add bash completion for `--log-opt line-only`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-04 10:05:37 +01:00
Harald Albers
53376b60c6
Minor bash completion improvements/fixes
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-04 09:33:14 +01:00
Harald Albers
5ee3b9b461
Improve bash completion for images
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-04 09:33:14 +01:00
dungeonmaster18
d5271568a2
Added auto complete command for fluentd-sub-second-precision
...
Signed-off-by: dungeonmaster18 <umesh4257@gmail.com>
2017-12-01 18:39:41 +05:30
Victor Vieux
6b63d7b96a
Merge pull request #719 from vdemeester/test-secret-config-indempotence
...
Add unit tests on config/secret indempotence in stack deploy
2017-11-30 08:39:56 -08:00
Harald Albers
a2d0b6e122
Fix #512 Bash autocompletion works incorrect with inspect
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-11-30 17:28:33 +01:00
Vincent Demeester
5ed399e588
Add unit tests on config/secret indempotence in stack deploy
...
Related PR : https://github.com/docker/cli/pull/509
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-11-30 09:45:32 +01:00
Vincent Demeester
b45a49c83f
Merge pull request #702 from albers/completion-log--until
...
Add bash completion for `logs --until`
2017-11-30 09:40:08 +01:00