Victor Vieux
cec9594947
Merge pull request #31790 from mlaventure/devicecgrouprules-api-swagger
...
Update swagger.yaml and api/version-history.md for DeviceCgrouprules
2017-03-14 16:51:09 -07:00
Victor Vieux
1a24abe42d
Merge pull request #31809 from vieux/bump_api
...
bump API to 1.28
2017-03-14 11:53:52 -07:00
Victor Vieux
cd173a6030
bump API to 1.28
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-03-14 09:32:50 -07:00
Kenfe-Mickael Laventure
6e97f11df9
Update swagger.yaml and api/version-history.md for DeviceCgrouprules
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-03-14 07:24:29 -07:00
Harald Albers
0a1ace9d2f
Remove docs for dockerd --no-new-privileges
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-14 10:00:14 +01:00
Madhu Venugopal
cdf66ba715
Merge pull request #31710 from sanimej/drillerrr
...
Add verbose flag to network inspect to show all services & tasks in swarm mode
2017-03-13 21:12:32 -07:00
Santhosh Manohar
14f76a21db
Enhance network inspect to show all tasks, local & non-local, in swarm mode
...
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2017-03-13 17:52:08 -07:00
Tibor Vass
f947d823f0
Merge pull request #31767 from mstanleyjones/fix_tables
...
Fix markdown in references for Kramdown
2017-03-13 14:13:15 -07:00
Justin Cormack
2c6a1e1878
Merge pull request #31579 from ijc25/cpuacct
...
Correct CPU usage calculation in presence of offline CPUs and newer Linux
2017-03-13 16:32:18 +00:00
Vincent Demeester
4744b01d3b
Merge pull request #31712 from rcjsuen/patch-2
...
Fix directive example to match description
2017-03-13 16:34:29 +01:00
Misty Stanley-Jones
0ce13eb0d3
Fix markdown in references for Kramdown
...
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2017-03-12 12:01:06 -07:00
Ian Campbell
115f91d757
Correct CPU usage calculation in presence of offline CPUs and newer Linux
...
In https://github.com/torvalds/linux/commit/5ca3726 (released in v4.7-rc1) the
content of the `cpuacct.usage_percpu` file in sysfs was changed to include both
online and offline cpus. This broke the arithmetic in the stats helpers used by
`docker stats`, since it was using the length of the PerCPUUsage array as a
proxy for the number of online CPUs.
Add current number of online CPUs to types.StatsJSON and use it in the
calculation.
Keep a fallback to `len(v.CPUStats.CPUUsage.PercpuUsage)` so this code
continues to work when talking to an older daemon. An old client talking to a
new daemon will ignore the new field and behave as before.
Fixes #28941 .
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-03-10 10:24:33 +00:00
Remy Suen
f00fa63988
Fix directive example to match description
...
The description claims the directive is appearing after a comment but
the sample Dockerfile has the directive appear after an instruction.
Changed the ordering of the lines to match the example's description.
Signed-off-by: Remy Suen <remy.suen@gmail.com>
2017-03-10 07:11:30 +09:00
John Laswell
4a20252137
Fix typo in run.md documentation
...
Signed-off-by: John Laswell <john.n.laswell@gmail.com>
2017-03-09 13:08:48 -05:00
Harald Albers
b303e229ca
Fix description of docker run|create --stop-signal
in help message
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-09 09:32:16 +01:00
Brian Goff
ba5c0f88d5
Merge pull request #30568 from khudgins/nimbleplugin
...
added listing for Nimble Storage's volume plugin
2017-03-07 09:31:53 -05:00
Keith Hudgins
05f37ad4f5
added listing for Nimble Storage's volume plugin
...
Signed-off-by: Keith Hudgins <greenman@greenman.org>
updated nimble plugin url
2017-03-06 12:15:25 -05:00
Aaron Lehmann
3a88a24d23
Add support for rollback flags
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-03-03 16:33:34 -08:00
Aaron Lehmann
cc9d04647a
Add support for the "rollback" failure action
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-03-03 16:33:34 -08:00
Sebastiaan van Stijn
3a5a1c3f3d
Merge pull request #30725 from aaronlehmann/topology
...
Topology-aware scheduling
2017-03-03 15:01:12 +01:00
Sebastiaan van Stijn
e1da516598
Merge pull request #30265 from allencloud/add-CheckDuplicate-details-and-logic
...
add CheckDuplicate docs and logics in network
2017-03-03 14:18:52 +01:00
Tibor Vass
0ab40a7552
Merge pull request #31496 from vieux/update_deprecation
...
update deprecation dates
2017-03-02 16:03:39 -08:00
scjane
e20bbe59e9
Update index.md
...
Signed-off-by: Wang Jie <wangjie5@chinaskycloud.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-03-02 12:18:55 +01:00
Sebastiaan van Stijn
7e3169f26d
remove Jekyll tags from CLI reference
...
These Markdown files are now embedded in a YAML
file for templating in the documentation, and
these special markers are no longer needed.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-03-02 02:14:15 +01:00
Sebastiaan van Stijn
bb9f19503c
Merge pull request #30754 from yongtang/25696-stop-signal
...
Add `--stop-signal` for `service create` and `service update`
2017-03-01 18:10:57 +01:00
Victor Vieux
5d68ef529b
update deprecation dates
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-02-27 17:16:47 -08:00
pjaffe
7623563575
Remove incorrect duplicate phrase from build.md
...
A phrase from the "Text files" section in build.md was incorrectly duplicated under the "Tarball contexts" section.
Signed-off-by: Peter Jaffe <pjaffe@nevo.com>
2017-02-27 17:05:24 -05:00
Aaron Lehmann
17288c611a
Topology-aware scheduling
...
This adds support for placement preferences in Swarm services.
- Convert PlacementPreferences between GRPC API and HTTP API
- Add --placement-pref, --placement-pref-add and --placement-pref-rm to CLI
- Add support for placement preferences in service inspect --pretty
- Add integration test
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-02-27 13:29:54 -08:00
Anusha Ragunathan
52ce5c2548
Merge pull request #31071 from anusha-ragunathan/plugin_filter_network
...
Service creation using network plugin filters.
2017-02-27 11:59:11 -08:00
Sebastiaan van Stijn
a64ea37753
Merge pull request #30383 from TDAbboud/30096-add-host-docker-build
...
Add --add-host for docker build
2017-02-27 12:42:18 +01:00
Brian Goff
27c9a6e9c2
Merge pull request #31291 from albers/docs-daemon-hosts
...
Clarify why `hosts` in `daemon.json` does not work
2017-02-23 10:47:26 -05:00
Harald Albers
340b75dd41
Clarify why hosts
in daemon.json
does not work
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-23 14:03:58 +01:00
yupengzte
ec95ad7353
Delete dots to align with other commands description
...
Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
2017-02-23 16:46:08 +08:00
Vincent Demeester
4534dcd494
Merge pull request #31031 from WeiZhang555/stats-all-docs
...
[Docs] Add docs for stating stopped containers
2017-02-22 11:14:15 +01:00
Yong Tang
c2d49ec214
Add --stop-signal
for service create
and service update
...
This fix tries to address the issue raised in 25696 where
it was not possible to specify `--stop-signal` for `docker service create`
and `docker service update`, in order to use special signal to stop
the container.
This fix adds `--stop-signal` and update the `StopSignal` in `Config`
through `service create` and `service update`.
Related docs has been updated.
Integration test has been added.
This fix fixes 25696.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-02-21 15:19:45 -08:00
Sebastiaan van Stijn
25500d56a5
Merge pull request #30814 from YuPengZTE/devSwarmCliExplain
...
fix the type
2017-02-21 00:59:58 +01:00
Tony Abboud
7a962e4577
Add --add-host for docker build
...
Signed-off-by: Tony Abboud <tdabboud@hotmail.com>
2017-02-20 17:32:28 -05:00
Vincent Demeester
75843d36aa
Merge pull request #31034 from erxian/refine-service-update-document
...
add rollback explanation to docker service update command document
2017-02-20 09:29:38 +01:00
erxian
34919accaa
add rollback explanation to docker service update command document
...
Signed-off-by: erxian <evelynhsu21@gmail.com>
2017-02-20 11:37:07 +08:00
Sebastiaan van Stijn
b89aff1afa
Merge pull request #30898 from allencloud/add-link-query-in-container-rm-api-doc
...
add link query in container rm api doc
2017-02-18 09:53:51 -08:00
Yong Tang
097b38c15d
Update version-history.md for ReadOnly
parameter
...
This fix updates the `docs/api/version-history.md`
for `ReadOnly` parameter, which is now available in
`POST /services/create` and `POST /services/(id or name)/update`.
This fix is a follow up to 30162.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-02-17 19:18:37 -08:00
Anusha Ragunathan
6dd2a82458
Merge pull request #29984 from jmzwcn/issueNNP
...
[feature]: add daemon flag to set no_new_priv as default for unprivileged containers
2017-02-17 11:43:43 -08:00
Anusha Ragunathan
b1debf1374
Merge pull request #28213 from yongtang/11062016-service-ps-format
...
Add `--format` to `docker service ps`
2017-02-17 10:23:18 -08:00
Anusha Ragunathan
bcdd6aa356
Service creation using network plugin filters.
...
Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2017-02-17 09:41:37 -08:00
Brian Goff
623612fe09
Merge pull request #30679 from mlaventure/cgroup-devices-docs
...
Add example for --device-cgroup-rule to create reference
2017-02-16 21:18:04 -05:00
Daniel Zhang
d7fda019bb
Add daemon flag to set no_new_priv as default for unprivileged containers.
...
Signed-off-by: Daniel Zhang <jmzwcn@gmail.com>
2017-02-16 19:05:14 +08:00
Zhang Wei
7a36d55a86
[Docs] Add docs for stating stopped containers
...
This commit adds docs with example showing `docker stats` stopped
containers.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2017-02-15 14:20:30 +08:00
Misty Stanley-Jones
2e19cc0cc4
Fix some Liquid errors
...
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2017-02-14 16:40:15 -08:00
Sebastiaan van Stijn
3dc87714d1
Merge pull request #30524 from mstanleyjones/30149_update_plugin_apidocs
...
Update plugin_volume apidocs for v2
2017-02-14 15:27:04 -08:00
Sebastiaan van Stijn
fddab1444f
Merge pull request #30921 from anusha-ragunathan/debug_docs
...
Add plugin socket related debug docs.
2017-02-14 13:10:23 -08:00