6cac3d13cb
With the introduction of node-local network support, docker services can
...
be attached to special networks such as host and bridge. This fix brings
in the required changes to make sure the stack file accepts these
networks as well.
Signed-off-by: Madhu Venugopal <madhu@docker.com >
Upstream-commit: 123f0bfd98
Component: cli
2017-05-25 19:50:08 -07:00
a32935ea52
Merge pull request #127 from andrewhsu/gitcommit
...
allow override of git hash when building binary
Upstream-commit: 11e7d35f9c
Component: cli
2017-05-24 15:57:02 -07:00
9cdca5ef2e
pass in optional GITCOMMIT override
...
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
Upstream-commit: 446af3a9b7
Component: cli
2017-05-24 22:45:42 +00:00
d1013c3e75
Merge pull request #102 from keloyang/attach-block
...
Recheck the container's state to avoid attach block.
Upstream-commit: 61c0b9f78d
Component: cli
2017-05-24 12:09:38 +01:00
79087a0823
Merge pull request #109 from vdemeester/codecov-in-circle
...
Add test-coverage & codecov target and update circleci
Upstream-commit: e47cc91ac9
Component: cli
2017-05-23 11:59:05 -04:00
afb05b3e5d
Merge pull request #119 from andrewhsu/ver
...
allow version number to be set in builds
Upstream-commit: 28eb46de56
Component: cli
2017-05-22 18:16:41 -07:00
1d9c61db3a
allow version number to be set in builds
...
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
Upstream-commit: 3dfe334a7a
Component: cli
2017-05-22 13:22:42 -07:00
1959f587f4
Recheck the container's state to avoid attach block.
...
If use docker attach command to attach to a stop container, it will return
"You cannot attach to a stopped container" error, it's ok, but when
attach to a running container, it(docker attach) use inspect to check
the container's state, if it pass the state check on the client side,
and then the container is stopped, docker attach command still attach to
the container and not exit.
Signed-off-by: Shukui Yang <yangshukui@huawei.com >
Upstream-commit: f9dc3337f9
Component: cli
2017-05-20 08:02:06 +08:00
f039c950a8
Upload coverage report from outside of test container.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: f6d148c632
Component: cli
2017-05-19 17:37:38 -04:00
56d05cc358
Add test-coverage & codecov target and update circleci
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: d79d903864
Component: cli
2017-05-19 17:22:37 -04:00
5bbf4871d4
Merge pull request #106 from dnephin/improve-makefile
...
Remove @ from Makefiles
Upstream-commit: 883d28cfce
Component: cli
2017-05-19 16:03:04 -04:00
0de3b92ebd
Merge pull request #104 from dnephin/add-ppc64le-to-cross
...
Add ppc64le to cross
Upstream-commit: 1fc7eb5d64
Component: cli
2017-05-19 08:02:01 -07:00
4d54b44919
Enabled linux/ppc64le cross build.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 46049dd0b6
Component: cli
2017-05-18 13:07:26 -04:00
bc98a48832
Merge pull request #77 from vdemeester/move-duration-opts
...
Move duration opts into an opts package
Upstream-commit: eea4a38cd6
Component: cli
2017-05-18 11:15:30 +02:00
4d51624a17
Merge pull request #62 from abhinandanpb/master
...
Adding network specific option in csv format for service create/update
Upstream-commit: 3dfb8343b1
Component: cli
2017-05-17 21:17:23 -07:00
6065480cb3
moving opts to cli repo
...
Signed-off-by: Abhinandan Prativadi <abhi@docker.com >
Upstream-commit: 0893ab8560
Component: cli
2017-05-17 21:08:58 -07:00
e4194f2c92
moby vendoring
...
Signed-off-by: Abhinandan Prativadi <abhi@docker.com >
Upstream-commit: 2e07636e5e
Component: cli
2017-05-17 21:08:57 -07:00
dd32a4ed8f
Adding network options to service create/update
...
Changes added to accept network specific options in
docker service create/update
Signed-off-by: Abhinandan Prativadi <abhi@docker.com >
Upstream-commit: 40341ae089
Component: cli
2017-05-17 21:07:48 -07:00
6046962f0a
Merge pull request #49 from aboch/nlo2
...
Add network create flags --scope, --config-only, --config-from
Upstream-commit: d156151ba1
Component: cli
2017-05-17 20:08:23 -07:00
e90e12563c
Vendor moby/moby @4874e0
...
Signed-off-by: Alessandro Boch <aboch@docker.com >
Upstream-commit: f7415aa953
Component: cli
2017-05-17 19:55:09 -07:00
9b300a1def
Merge pull request #30 from nishanttotla/rename-trust-function
...
Moving docker service digest pinning to client side
Upstream-commit: 74cc280521
Component: cli
2017-05-18 03:05:48 +02:00
d8354ad717
Adding a flag to allow disabling registry lookup
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com >
Upstream-commit: 39d03bb2bd
Component: cli
2017-05-17 17:55:11 -07:00
fd1d1e23c8
Service create/update set QueryRegistry appropriately
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com >
Upstream-commit: c61ea6f789
Component: cli
2017-05-17 17:39:35 -07:00
17199df157
Add support for config-only, config-from and scope options
...
- To promote a network to swarm mode
Signed-off-by: Alessandro Boch <aboch@docker.com >
Upstream-commit: b5e43fb5ec
Component: cli
2017-05-17 17:17:50 -07:00
6ff9bdf996
Merge pull request #80 from AkihiroSuda/adjust-docker-stats
...
[Carry moby/moby#32777 ] Adjusted docker stats memory output
Upstream-commit: 85c2330dfa
Component: cli
2017-05-18 01:55:52 +02:00
621e243582
Merge pull request #101 from jlhawn/update_container_wait
...
Update `run` and `start` to use container wait API
Upstream-commit: b3e7e1ff74
Component: cli
2017-05-18 01:31:40 +02:00
705b40c511
Merge pull request #21 from aduermael/prune-security
...
prune commands : make sure label filters are considered
Upstream-commit: 63ecaf1d4f
Component: cli
2017-05-17 16:23:27 -07:00
6ab9e202e7
Refactor holdHijackedConnection
...
It has been refactored to a hijackedIOStreamer type which has several
methods which are used to prepare input and handle streaming the input
and output separately.
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com > (github: jlhawn)
Upstream-commit: 6eca53c7ae
Component: cli
2017-05-17 15:18:01 -07:00
484d9f1587
Merge pull request #92 from vdemeester/add-codecov
...
Add codecov configuration
Upstream-commit: 8372ae744e
Component: cli
2017-05-17 13:50:03 -07:00
235c74487c
Remove @ from Makefiles.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Upstream-commit: 73ebb07df5
Component: cli
2017-05-17 15:56:19 -04:00
8068ecfd18
make system prune “--filter” flag available only for docker 17.04 (api v1.28) and newer
...
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com >
Upstream-commit: 1cc1f54d90
Component: cli
2017-05-17 12:36:09 -07:00
dd8e5ae38a
Merge pull request #90 from dnephin/add-windows-autogen
...
Add windows resources to binary
Upstream-commit: b28c4822cc
Component: cli
2017-05-17 11:59:54 -07:00
96f059a410
Update CLI package with containerWait changes
...
The docker/client package was updated to support the updated Container
Wait API functionality. The run and start commands have been updated to
use the new wait features.
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com > (github: jlhawn)
Upstream-commit: 38591f20d0
Component: cli
2017-05-17 11:44:54 -07:00
ed481a9078
Update Vendor
...
Includes updates from docker/docker and imagespec
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com > (github: jlhawn)
Upstream-commit: 4f9ac4899f
Component: cli
2017-05-17 11:44:54 -07:00
6e96eb3d23
Merge pull request #87 from dnephin/add-watcher
...
Support running unit tests when files are saved
Upstream-commit: 3d655c090a
Component: cli
2017-05-17 10:19:10 -04:00
64cad477fc
Merge pull request #42 from dperny/service-logs-support-details
...
Add support for details on service logs
Upstream-commit: ae1124abad
Component: cli
2017-05-17 10:15:55 -04:00
6ae5b03502
Merge pull request #96 from nishanttotla/vendor-swarmkit
...
Vendor swarmkit 998a47fb9c2b727c8a48d372309af0b3032051e2
Upstream-commit: b3be2a0316
Component: cli
2017-05-17 14:05:19 +02:00
8339d63cee
Merge pull request #95 from dnephin/use-check-redirect
...
Use CheckRedirect so that client behaves the same way with GO 1.8
Upstream-commit: dee8e6ab2d
Component: cli
2017-05-17 10:13:42 +02:00
ba46f33bdd
Add support for details on service logs
...
Adds CLI and client support for details on service logs. CLI component
of moby/moby#32996 .
Signed-off-by: Drew Erny <drew.erny@docker.com >
Upstream-commit: ebc0eff478
Component: cli
2017-05-16 16:53:58 -07:00
fe92c98764
Merge pull request #89 from aaronlehmann/pretty
...
Add --pretty option to "secret inspect" and "config inspect"
Upstream-commit: 5b19f39017
Component: cli
2017-05-17 01:38:10 +02:00
66a0573519
Add --pretty option to "secret inspect" and "config inspect"
...
This adds a pretty template for both inspect subcommands. For configs,
it's particularly useful because it's a way to expose the config payload
in the CLI in a non-base64-encoded way.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com >
Upstream-commit: 62567078ff
Component: cli
2017-05-16 15:12:20 -07:00
5d9a68e410
Vendor swarmkit 998a47fb9c2b727c8a48d372309af0b3032051e2
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com >
Upstream-commit: 4ac30da2a9
Component: cli
2017-05-16 15:06:07 -07:00
e78b25ca60
Merge pull request #48 from cyli/root-rotation-cli
...
Synchronous CLI command for root CA rotation
Upstream-commit: c17acee8cf
Component: cli
2017-05-16 14:58:05 -07:00
00f1ab7ba6
Merge pull request #98 from aaronlehmann/logs-padding-underflow
...
service: Avoid underflow in logs padding calculation
Upstream-commit: ebbab14224
Component: cli
2017-05-16 23:36:25 +02:00
d92c450866
Avoid loop when discarding contents of progress pipe
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com >
Upstream-commit: 51f698337d
Component: cli
2017-05-16 14:34:59 -07:00
37f8c1ed6a
Re-vendor docker/docker.
...
Signed-off-by: Ying Li <ying.li@docker.com >
Upstream-commit: 103bfb2739
Component: cli
2017-05-16 14:31:19 -07:00
a87d4d281d
Provide command line tool to view and rotate swarm's currently CA root certificate.
...
Signed-off-by: Ying Li <ying.li@docker.com >
Upstream-commit: 3fe8321d0c
Component: cli
2017-05-16 14:31:15 -07:00
a980294145
Merge pull request #83 from cpuguy83/add_configs_to_compose
...
Add support for configs to compose format
Upstream-commit: 37bf8ffc5a
Component: cli
2017-05-16 14:26:04 -07:00
ff47f5ac2e
Add support for configs to compose format
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
Upstream-commit: e574286ba2
Component: cli
2017-05-16 17:10:14 -04:00
2e0471b665
Merge pull request #71 from thaJeztah/add-credspec-to-compose
...
add credential-spec to compose
Upstream-commit: 90809f8fd9
Component: cli
2017-05-16 16:45:06 -04:00