Vincent Demeester
9058ec3be5
Merge pull request #27596 from aaronlehmann/rolling-restart
...
Add force option to service update
2016-10-22 13:37:12 +02:00
Sebastiaan van Stijn
b54a1d83fa
Merge pull request #27630 from runcom/fix-info-route
...
api/server/router/system: fix info versioning
2016-10-21 18:58:10 -07:00
Sebastiaan van Stijn
a6688959b4
Merge pull request #26973 from allencloud/change-code-in-container-restore
...
change code in container restore
2016-10-21 18:53:37 -07:00
Sebastiaan van Stijn
064eda192e
Merge pull request #27640 from thaJeztah/carry-26348-update-remote-api
...
[carry 26348] Update cURL connection example in remote API reference
2016-10-21 18:17:33 -07:00
Sebastiaan van Stijn
3c385b9f6b
Merge pull request #27117 from dnephin/swagger-gen
...
Add swagger.yaml and generate a few types from the spec
2016-10-21 18:15:28 -07:00
Aaron Lehmann
c9fdf9abf8
Add force option to service update
...
Currently, there's no way to restart the tasks of a service without
making an actual change to the service. This leads to us giving awkward
workarounds as in
https://github.com/docker/docker.github.io/pull/178/files , where we tell
people to scale a service up and down to restore balance, or make
unnecessary changes to trigger a restart.
This change adds a --force option to "docker service update", which
forces the service to be updated even if no changes require that.
Since rolling update parameters are respected, the user can use
"docker service --force" to do a rolling restart. For example, the
following is supported:
docker service update --force --update-parallelism 2 \
--update-delay 5s myservice
Since the default value of --update-parallelism is 1, the default
behavior is to restart the service one task at a time.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-10-21 17:43:27 -07:00
Kenfe-Mickaël Laventure
87ae571fed
Merge pull request #27609 from tonistiigi/fix-chroot-shared-parent
...
chroot: remount everything as private in new mntns
2016-10-21 14:40:40 -07:00
Victor Vieux
d0e6dae233
Merge pull request #27522 from vieux/data_race_plugins
...
prevent data race in pkg/plugins
2016-10-21 14:19:48 -07:00
Victor Vieux
f7af80860c
prevent data race in pkg/plugins
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-10-21 13:28:13 -07:00
Sebastiaan van Stijn
2e0d6e6be2
Update cURL example for cURL 7.40 differences
...
cURL 7.50 changed the validation for URL's
when using socket connections. cURL 7.4x
did not expect a hostname, whereas cURL
7.5x and above _requires_ a hostname.
See https://github.com/curl/curl/issues/936
This updates the example to take both
versions into account, because cURL 7.4x
is still widely used by distros.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-10-21 11:40:58 -07:00
Gerwim
587b186f85
Update docker_remote_api.md
...
See https://github.com/docker/docker/issues/26099#issuecomment-245007539
Signed-off-by: Gerwim Feiken <g.feiken@tfe.nl>
2016-10-21 11:34:08 -07:00
Misty Stanley-Jones
78dae2a037
Merge pull request #27575 from yuexiao-wang/fix-cli-link
...
Modify the links for docker container commands
2016-10-21 11:15:57 -07:00
Sebastiaan van Stijn
95c36b301b
Merge pull request #27579 from albers/completion-container
...
Add bash completion for new `docker container` subcommands
2016-10-21 09:47:55 -07:00
Sebastiaan van Stijn
32b541e443
Merge pull request #27405 from tonistiigi/fix-fifo2
...
Fix issues with fifos blocking on open
2016-10-21 09:44:33 -07:00
Sebastiaan van Stijn
0c767f0a6c
Merge pull request #27490 from caarlos0/editorconfig
...
added editorconfig
2016-10-21 09:15:17 -07:00
Vincent Demeester
29f676564d
Merge pull request #27618 from allencloud/vendor-go-units
...
revendor go-units to update more accurate duration display
2016-10-21 17:14:20 +02:00
Harald Albers
93ccf95db1
Move bash completion logic to new subcommand: wait
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
f9a24c72ba
Move bash completion logic to new subcommand: update
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
6ac201721f
Move bash completion logic to new subcommand: unpause
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
4bab104761
Move bash completion logic to new subcommand: top
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
150dcabc0f
Move bash completion logic to new subcommand: stop
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
19f31f8e48
Move bash completion logic to new subcommand: stats
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
2bbfd01e7a
Move bash completion logic to new subcommand: start
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
5200d18dbf
Move bash completion logic to new subcommand: run
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
9fc4670b3b
Move bash completion logic to new subcommand: rm
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
58027826d4
Move bash completion logic to new subcommand: restart
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
96547d0e88
Move bash completion logic to new subcommand: port
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
48e75d4bc2
Move bash completion logic to new subcommand: port
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
27abd03059
Move bash completion logic to new subcommand: pause
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
a91fb558d2
Move bash completion logic to new subcommand: ps
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
4dedad3118
Move bash completion logic to new subcommand: logs
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
f1e12a4951
Move bash completion logic to new subcommand: kill
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
3cd9f22664
Move bash completion logic to new subcommand: inspect
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
3b6f6611b0
Move bash completion logic to new subcommand: diff
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Harald Albers
8fde0d7f2b
Move bash completion logic to new subcommand: exec
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:39:32 +02:00
Antonio Murdaca
63b5a37203
api/server/router/system: fix info versioning
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-10-21 12:32:23 +02:00
Harald Albers
f15debe56c
Move bash completion logic to new subcommand: diff
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:32:08 +02:00
Harald Albers
cd4a490b3f
Move bash completion logic to new subcommand: create
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:32:08 +02:00
Harald Albers
939a97f7ac
Move bash completion logic to new subcommand: cp
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:32:08 +02:00
Harald Albers
6a0dff0a9a
Move bash completion logic to new subcommand: commit
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:32:08 +02:00
Harald Albers
dc5794b306
Move bash completion logic to new subcommand: attach
...
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:32:08 +02:00
Harald Albers
a77bc8bbcf
Add bash completion for docker container
...
At this point, we just delegate to the existing completions.
Signed-off-by: Harald Albers <github@albersweb.de>
2016-10-21 12:32:08 +02:00
Sebastiaan van Stijn
44dc9ef602
Merge pull request #27617 from lixiaobing10051267/masterUserGuide
...
fix wrong location for network related doc files
2016-10-20 22:28:43 -07:00
Aaron Lehmann
bc52939b04
Merge pull request #27613 from stevvooe/archive-package-cleanup
...
pkg/archive: remove unnecessary Archive and Reader type
2016-10-20 20:56:23 -07:00
lixiaobing10051267
c026076658
fix wrong location for network related doc files
...
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
2016-10-21 11:27:24 +08:00
allencloud
3cff9e0267
revendor go-units to update more accurate time display
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2016-10-21 11:05:11 +08:00
Sebastiaan van Stijn
015c2d32ee
Merge pull request #27531 from AkihiroSuda/nit-api125-changelog
...
[nit] add missing changes in API v1.25 (prune) to docker_remote_api.md
2016-10-20 19:37:15 -07:00
Stephen J Day
aa2cc18745
pkg/archive: remove unnecessary Archive and Reader type
...
The `archive` package defines aliases for `io.ReadCloser` and
`io.Reader`. These don't seem to provide an benefit other than type
decoration. Per this change, several unnecessary type cases were
removed.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-10-20 19:31:24 -07:00
Victor Vieux
d98f995d7d
Merge pull request #27564 from mlaventure/add-networks-format-to-ps
...
Add Networks placeholder to ps --format
2016-10-20 18:43:46 -07:00
Akihiro Suda
afb2177631
add missing changes in API v1.25 (prune) to docker_remote_api.md
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2016-10-21 01:33:08 +00:00