allencloud
66ece30c85
support show numbers of global service in service ls command
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
Upstream-commit: 7891d349b3
Component: cli
2016-11-08 16:17:15 +08:00
yupeng
4cd3911d13
context.Context should be the first parameter of a function
...
Signed-off-by: yupeng <yu.peng36@zte.com.cn >
Upstream-commit: 7113bbf2c6
Component: cli
2016-11-08 14:51:17 +08:00
Victor Vieux
89bd4a499a
support settings in docker plugins install
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 41513e3051
Component: cli
2016-11-07 22:49:22 -08:00
Victor Vieux
d8d857d3a5
support settings in docker plugins install
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 3f7264473d
Component: cli
2016-11-07 22:49:22 -08:00
John Howard
ffad23ed73
Adds minimum API version to version
...
Signed-off-by: John Howard <jhoward@microsoft.com >
Upstream-commit: 089b33edd8
Component: cli
2016-11-07 21:20:00 -08:00
Yong Tang
1fe9a67a27
Add --tty to docker service create/update
...
This fix tries to add `--tty` to `docker service create/update`. As was
specified in 25644, `TTY` flag has been added to SwarmKit and is
already vendored.
This fix add `--tty` to `docker service create/update`.
Related document has been updated.
Additional integration tests has been added.
This fix fixes 25644.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
Upstream-commit: 3baa727ed1
Component: cli
2016-11-07 16:42:32 -08:00
WangPing
8408e69f91
modify to improve code readability
...
Signed-off-by: WangPing <present.wp@icloud.com >
align
Signed-off-by: WangPing <present.wp@icloud.com >
align
Signed-off-by: WangPing <present.wp@icloud.com >
Upstream-commit: 713c7cd81e
Component: cli
2016-11-08 08:37:44 +08:00
Misty Stanley-Jones
d7a0039133
Merge pull request #28029 from tealtail/27994-add-service-ls-truncate-opt
...
remove COMMAND column from `service ls` output. closes #27994
Upstream-commit: 6780c318a3
Component: cli
2016-11-07 14:39:16 -08:00
Aaron Lehmann
00e143bdae
Merge pull request #25974 from kunalkushwaha/mount-add
...
correct handling of volumes while service update.
Upstream-commit: 7a50218855
Component: cli
2016-11-07 10:34:22 -08:00
Vincent Demeester
cd9759a86e
Merge pull request #25983 from jhorwit2/jah/ps-refactor
...
Add -a option to service/node ps
Upstream-commit: dd33c288ec
Component: cli
2016-11-07 17:33:10 +01:00
Antonio Murdaca
1fb5d053e7
client: bump default version to v1.25
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
Upstream-commit: 58c2d938dd
Component: cli
2016-11-07 10:01:28 +01:00
Vincent Demeester
832f1884c2
Merge pull request #28065 from lixiaobing10051267/masterServerEror
...
add error information to distinguish different test scene
Upstream-commit: c910d3825b
Component: cli
2016-11-07 09:16:16 +01:00
Alicia Lauerman
3c2e5c3d64
remove COMMAND column from service ls output. closes #27994
...
Signed-off-by: Alicia Lauerman <alicia@eta.im >
Upstream-commit: 1491ae50e0
Component: cli
2016-11-06 13:32:44 -05:00
Josh Horwitz
0ee62b4e2a
Add -a option to service/node ps
...
Signed-off-by: Josh Horwitz <horwitzja@gmail.com >
Upstream-commit: 21096cfc05
Component: cli
2016-11-06 07:40:39 -05:00
yupeng
35da390f93
Align arg with other cli
...
Signed-off-by: yupeng <yu.peng36@zte.com.cn >
Upstream-commit: 46418414a2
Component: cli
2016-11-05 13:47:02 +08:00
Victor Vieux
a5f114fa85
Merge pull request #28010 from vieux/fix_experimental_client
...
always add but hide experimental cmds and flags
Upstream-commit: db706f3c38
Component: cli
2016-11-04 13:49:19 -07:00
Victor Vieux
18b0c2adc0
update cobra and use Tags
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 2ee5bbcbfa
Component: cli
2016-11-04 12:04:14 -07:00
Victor Vieux
75f0b0b043
update cobra and use Tags
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 1e10649f55
Component: cli
2016-11-04 12:04:14 -07:00
Antonio Murdaca
a3b971ce93
cli/info: fix seccomp warning
...
also reword seccomp warning around default seccomp profile
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
Upstream-commit: b338ab7c41
Component: cli
2016-11-04 19:25:51 +01:00
Yong Tang
9739850eeb
Add --cpus flag to control cpu resources
...
This fix tries to address the proposal raised in 27921 and add
`--cpus` flag for `docker run/create`.
Basically, `--cpus` will allow user to specify a number (possibly partial)
about how many CPUs the container will use. For example, on a 2-CPU system
`--cpus 1.5` means the container will take 75% (1.5/2) of the CPU share.
This fix adds a `NanoCPUs` field to `HostConfig` since swarmkit alreay
have a concept of NanoCPUs for tasks. The `--cpus` flag will translate
the number into reused `NanoCPUs` to be consistent.
This fix adds integration tests to cover the changes.
Related docs (`docker run` and Remote APIs) have been updated.
This fix fixes 27921.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
Upstream-commit: 1cab3b32a6
Component: cli
2016-11-04 09:43:10 -07:00
Justin Cormack
21ad2b2908
Merge pull request #26276 from runcom/seccomp-conf
...
daemon: add a flag to override the default seccomp profile
Upstream-commit: 4758d72fa3
Component: cli
2016-11-04 15:45:30 +00:00
Vincent Demeester
2584223dc2
Merge pull request #27857 from vasil-yordanov/docker-service-hostname-2
...
Adding the hostname option to docker service command
Upstream-commit: 38a582f54c
Component: cli
2016-11-04 15:22:55 +01:00
lixiaobing10051267
792c7e5a54
add error information to distinguish different test scene
...
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn >
Upstream-commit: a98c89b310
Component: cli
2016-11-04 17:16:11 +08:00
Vincent Demeester
b55edf2aaf
Merge pull request #28045 from vincentbernat/fix/inspect-short-description
...
cli: shorten description of "inspect" subcommand
Upstream-commit: 36e659c019
Component: cli
2016-11-04 08:15:49 +01:00
Kunal Kushwaha
3e2986789f
correct handling of volumes while service update.
...
Updating a service to replace a volume is handled properly now.
Fixes bug#25772
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp >
Upstream-commit: b8cf9a880e
Component: cli
2016-11-04 10:15:18 +09:00
Victor Vieux
0fef0ef25c
always add but hide experimental cmds and flags
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 73d63ec5a6
Component: cli
2016-11-03 17:31:12 -07:00
Victor Vieux
25608ce8d4
always add but hide experimental cmds and flags
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: eb522dac24
Component: cli
2016-11-03 17:31:12 -07:00
Sebastiaan van Stijn
2d55d48a71
Merge pull request #28021 from YuPengZTE/devString
...
Add “” for String
Upstream-commit: 284e11ba2b
Component: cli
2016-11-03 17:03:56 -07:00
Vincent Bernat
40f9852dd3
cli: shorten description of "inspect" subcommand
...
The short description should be kept short. Spanning on several lines is
a bit ugly. A user can still get more information in the manual or we
can expand the long description instead if we want (there is currently
none).
This reverts a bit of #26683 .
Signed-off-by: Vincent Bernat <vincent@bernat.im >
Upstream-commit: 0e6f4e7cda
Component: cli
2016-11-03 20:46:28 +01:00
Victor Vieux
a3d3423005
fix double [y/N] in container prune
...
Signed-off-by: Victor Vieux <vieux@docker.com >
Upstream-commit: 3014d36cd9
Component: cli
2016-11-03 10:33:17 -07:00
Sebastiaan van Stijn
7e77a4eb36
Merge pull request #27910 from dperny/node_ip_in_raft
...
Auto-detect node IP address
Upstream-commit: 938d24ab51
Component: cli
2016-11-03 10:30:55 -07:00
Drew Erny
4e0dd7ba31
added node ip autodetection
...
Manager now auto-detects the address that an agent connects to the cluster
from and stores it. This is useful for many kinds of internal cluster
management tools.
Signed-off-by: Drew Erny <drew.erny@docker.com >
Upstream-commit: 2cd4028024
Component: cli
2016-11-03 08:10:14 -07:00
Vincent Demeester
4a8233909f
Merge pull request #27934 from yuexiao-wang/volume-create
...
Update descriptions for the docker volume sub-command, such as create,list and inspect
Upstream-commit: ee42b42f3c
Component: cli
2016-11-03 03:12:10 -07:00
yuexiao-wang
f4a9cbc8ae
Update for docker volume create
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
Upstream-commit: 816560ffe9
Component: cli
2016-11-03 22:40:04 +08:00
Nikolay Milovanov
2cef813aa2
Adding the hostname option to docker service command
...
Signed-off-by: Nikolay Milovanov <nmil@itransformers.net >
Upstream-commit: 19b7bc1739
Component: cli
2016-11-03 10:02:14 +00:00
yupeng
9e5c08ce2b
Add for String
...
Signed-off-by: yupeng <yu.peng36@zte.com.cn >
Upstream-commit: cd46f06934
Component: cli
2016-11-03 16:15:26 +08:00
Akihiro Suda
01e1a7306e
cli: add --mount to docker run
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
Upstream-commit: 51cb4aa7b8
Component: cli
2016-11-03 07:08:59 +00:00
milindchawre
1e7ea7f047
Fixes #27798 : Update help for --blkio-weight parameter
...
Signed-off-by: milindchawre <milindchawre@gmail.com >
Upstream-commit: ec7d9291b8
Component: cli
2016-11-03 06:42:15 +00:00
Vincent Demeester
b5f18791bf
Add support for Names and ID in stats format
...
This adds support to display names or id of container instead of what
was provided in the request.
This keeps the default behavior (`docker stats byname` will display
`byname` in the `CONTAINER` colmun and `docker stats byid` will display
the id in the `CONTAINER` column) but adds two new format directive.
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: 07f77b78ea
Component: cli
2016-11-03 07:20:46 +01:00
Sebastiaan van Stijn
a513733757
Merge pull request #27979 from allencloud/more-specific-in-service-scale-description
...
add replicated in service scale command description
Upstream-commit: e279ecacc5
Component: cli
2016-11-02 18:01:59 -07:00
Antonio Murdaca
f70d6e5d9c
daemon: add a flag to override the default seccomp profile
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
Upstream-commit: 485bb69238
Component: cli
2016-11-02 21:41:29 +01:00
Antonio Murdaca
e35c329385
daemon: add a flag to override the default seccomp profile
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com >
Upstream-commit: 557db1ea68
Component: cli
2016-11-02 21:41:29 +01:00
allencloud
5da8376ad1
node rm can be applied on not only active node
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
Upstream-commit: 503053819e
Component: cli
2016-11-02 17:22:04 +08:00
allencloud
ba2bdb1e37
add replicated in service scale command description
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
Upstream-commit: 39e34ed1a3
Component: cli
2016-11-02 16:15:57 +08:00
Sebastiaan van Stijn
7caa97e5c7
Merge pull request #27948 from WeiZhang555/consistent-filters
...
Replace all "Filter" field with "Filters" for consistency
Upstream-commit: 81e6e5e36d
Component: cli
2016-11-02 00:53:15 -07:00
Sebastiaan van Stijn
5d177d55f0
Merge pull request #27948 from WeiZhang555/consistent-filters
...
Replace all "Filter" field with "Filters" for consistency
Upstream-commit: 732006e113
Component: cli
2016-11-02 00:53:15 -07:00
Sebastiaan van Stijn
59572d8cbb
Merge pull request #27942 from yuexiao-wang/remove-const
...
Remove some redundant consts
Upstream-commit: d4f4ad0ee4
Component: cli
2016-11-01 20:43:50 -07:00
yuexiao-wang
cf21756a82
Remove some redundant consts
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
Upstream-commit: 3acdab83fb
Component: cli
2016-11-02 16:42:42 +08:00
Sebastiaan van Stijn
bee99c14d9
Merge pull request #27864 from vdemeester/add-statsformat-to-configfile
...
Add StatsFormat to the config.json file
Upstream-commit: 63719e1a24
Component: cli
2016-11-01 20:32:13 -07:00
Michael Crosby
bb91eece7d
Merge pull request #27953 from thaJeztah/fix-deprecation-version
...
Update deprecation versions for "email" and colon in "security options"
Upstream-commit: 3a5d54290d
Component: cli
2016-11-01 14:31:32 -07:00