Vincent Demeester
fa5e0973ec
Merge pull request #30473 from albers/completion-plugins-format
...
Use native call for listing plugins in bash completion
2017-01-27 18:05:07 +01:00
Vincent Demeester
0b47ca4339
Merge pull request #30468 from ralphtheninja/master
...
update api docs on Placement.Constraints for services
2017-01-27 17:43:46 +01:00
Alexander Morozov
77ec3aa8f2
Merge pull request #30344 from cpuguy83/refactor_attach
...
Refactor attach
2017-01-27 07:35:44 -08:00
Yong Tang
99d91ada97
Add capability
filter to docker plugin ls
...
This fix adds `--filter capability=[volumedriver|authz]` to `docker plugin ls`.
The related docs has been updated.
An integration test has been added.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-27 07:32:22 -08:00
Harald Albers
aad095f573
Add [OPTIONS] to usage of plugin disable|push
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-27 16:17:02 +01:00
Vincent Demeester
8b1c6bfe3d
Make docker stack deploy a little bit more indempotent
...
Sort some slice fields before sending them to the swarm api so that it
won't trigger an update.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-01-27 16:09:02 +01:00
Sebastiaan van Stijn
3daa8ad5e3
Merge pull request #30493 from sanimej/netv
...
Vendoring libnetwork @e8431956
2017-01-27 11:24:29 +01:00
Sebastiaan van Stijn
e2de212339
Merge pull request #28634 from ghostplant/check_cfg_memsw
...
Checking whether CG_MEM_SWAP is enabled at the moment.
2017-01-27 10:49:32 +01:00
Sebastiaan van Stijn
d4799f037f
Merge pull request #30495 from codevulture/fix_plugin
...
Fix json format of plugin
2017-01-27 10:47:08 +01:00
Janonymous
2d24dbe896
Fix json format of plugin
...
Signed-off-by: Janonymous <janonymous.codevulture@gmail.com>
2017-01-27 09:32:19 +03:00
Santhosh Manohar
03ab20291b
Vendoring libnetwork @e8431956
...
Signed-off-by: Santhosh Manohar <santhosh@docker.com>
2017-01-26 18:08:18 -08:00
Tibor Vass
43544cf2b4
Merge pull request #30157 from aboch/att
...
Remove attachable network on swarm leave
2017-01-26 17:03:23 -08:00
unclejack
b6e2703230
Dockerfile*: bump Go to 1.7.5
...
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-01-27 02:14:36 +02:00
Brian Goff
93e322f5be
Merge pull request #29835 from yongtang/29810-btrfs-rescan
...
Run btrfs rescan only if userDiskQuota is enabled
2017-01-26 15:55:51 -08:00
Victor Vieux
5706d8206b
Merge pull request #30144 from dnephin/add-secrets-to-stack-deploy
...
Add secrets to stack deploy
2017-01-26 14:54:04 -08:00
Kenfe-Mickaël Laventure
cd7f3e7f9a
Merge pull request #30438 from albers/completion-windows-specific
...
Add windows specific bash completion for `docker run|create|build`
2017-01-26 14:25:35 -08:00
Yong Tang
a66e0dc349
Add --filter enabled=true
for docker plugin ls
...
This fix adds `--filter enabled=true` to `docker plugin ls`,
as was specified in 28624.
The related API and docs has been updated.
An integration test has been added.
This fix fixes 28624.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-26 13:16:11 -08:00
Alexander Morozov
541150da53
Merge pull request #29428 from rhatdan/selinux
...
We need to fix labels if the user requests on volumes
2017-01-26 11:47:14 -08:00
Alessandro Boch
3cedca5d53
Remove attachable network on swarm leave
...
- When the node leaves the cluster, if any user run
container(s) is connected to the swarm network,
then daemon needs to detach the container(s) and
remove the network.
Signed-off-by: Alessandro Boch <aboch@docker.com>
2017-01-26 11:16:07 -08:00
Alexander Morozov
ced293a015
Merge pull request #30479 from dnephin/fix-master-swagger
...
Fix ImageDelete type
2017-01-26 11:15:16 -08:00
Daniel Nephin
64978c1365
Fix ImageDelete type
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-01-26 14:07:44 -05:00
Victor Vieux
ab75ce6b66
Merge pull request #30407 from thaJeztah/add-src-alias-for-secrets
...
Add "src" alias for `--secret`
2017-01-26 10:53:27 -08:00
Felix Abecassis
ac3d74b0b4
install: map debian_version 9.X to debian stretch
...
Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
2017-01-26 10:51:08 -08:00
Alexander Morozov
df5d909ac9
Merge pull request #29851 from vdemeester/daemon-extract-image-cache
...
Extract the daemon image cache to its own package
2017-01-26 10:50:35 -08:00
Alexander Morozov
effc91e7a5
Merge pull request #29830 from timthelion/issue29821
...
Docs: Be more clear when specifying valid formats for strings
2017-01-26 10:45:03 -08:00
Alexander Morozov
a69c4129e0
Merge pull request #28409 from dnephin/swagger-gen-more
...
Generate more types from the swagger spec
2017-01-26 10:35:34 -08:00
Misty Stanley-Jones
37b13201c4
Fix broken relative links in old API docs
...
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2017-01-26 10:15:47 -08:00
Victor Vieux
5497f4758d
Merge pull request #30250 from yongtang/30242-duplicate-networks-scope
...
Fix incorrect `Scope` in `network ls/inspect` with duplicate network names
2017-01-26 10:11:10 -08:00
Daniel Nephin
167b3f95b7
Set default values for uid and gid to prevent errors when starting a service.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-01-26 12:00:46 -05:00
Harald Albers
5a067e5255
Use native call for listing plugins in bash completion
...
`docker plugin ls` now has `--format`, so there is no more need for
postprocessing raw `docker plugin ls` output with `awk` any more.
This will make generation of plugin lists robust against changes
in `docker plugin ls` output.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-26 17:33:43 +01:00
Daniel Nephin
b4f23bbc69
Rebase Compose v3.1 schema on the latest v3 schema.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-01-26 11:33:15 -05:00
Daniel Nephin
f0a5531c46
Remove secrets as part of stack remove.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-01-26 11:33:15 -05:00
Daniel Nephin
b3427e43ed
Test and fix external secrets in stack deploy.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-01-26 11:33:15 -05:00
Daniel Nephin
6ec84ef76d
Add integration test for stack deploy with secrets.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-01-26 11:33:15 -05:00
Daniel Nephin
9419e7df2b
Implement secret types for compose file.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-01-26 11:33:15 -05:00
Daniel Nephin
65374488f9
Add v3.1 schema and support validating multiple version.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-01-26 11:33:15 -05:00
Kenfe-Mickael Laventure
fc2fc6565a
Add example for device-cgroup-rule to man
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-26 07:21:50 -08:00
Kenfe-Mickael Laventure
98e7ec8e17
Update cobra to v1.5.1
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-26 07:21:50 -08:00
Kenfe-Mickael Laventure
1756af6faf
Allow adding rules to cgroup devices.allow on container create/run
...
This introduce a new `--device-cgroup-rule` flag that allow a user to
add one or more entry to the container cgroup device `devices.allow`
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-26 07:20:45 -08:00
Lars-Magnus Skog
9c98bffc2b
update api docs on Placement.Constraints for services
...
Signed-off-by: Lars-Magnus Skog <ralphtheninja@riseup.net>
2017-01-26 15:01:21 +01:00
Sebastiaan van Stijn
fe5f49685d
Merge pull request #30111 from darrenstahlmsft/DependsConDrv
...
Windows: Add service dependency ConDrv
2017-01-26 12:49:05 +01:00
Sebastiaan van Stijn
bc18cfa3f3
Merge pull request #28921 from allencloud/remove-incorrect-url
...
update an incorrect url in docs
2017-01-26 10:29:12 +01:00
allencloud
5ae95d6245
update incorrect url in docs
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2017-01-26 12:57:45 +08:00
Harald Albers
93e43b42be
Rename helper function in bash completion for consistency
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-25 15:55:04 -08:00
Harald Albers
fceaae95b5
Hide bash completion for docker run|create|build --isolation
on non-windows
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-25 15:55:04 -08:00
Kenfe-Mickaël Laventure
db657a558e
Merge pull request #30376 from albers/completion-fix-node-list
...
Fix bash completion for completing nodes
2017-01-25 11:52:13 -08:00
Yong Tang
05a831a775
Fix incorrect Scope
in network ls/inspect
with duplicate network names
...
This fix tries to address the issue raised in 30242 where the `Scope`
field always changed to `swarm` in the ouput of `docker network ls/inspect`
when duplicate networks name exist.
The reason for the issue was that `buildNetworkResource()` use network name
(which may not be unique) to check for the scope.
This fix fixes the issue by always use network ID in `buildNetworkResource()`.
A test has been added. The test fails before the fix and passes after the fix.
This fix fixes 30242.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-25 09:39:55 -08:00
Alexander Morozov
a76572b846
Merge pull request #30330 from mlaventure/prune-named-untagged
...
Prune named but untagged images if danglingOnly=true
2017-01-25 08:38:15 -08:00
Andy Goldstein
76f58d7294
journald logs: drain 1 more time at container exit
...
In the journald log driver, attempt to drain the journal 1 more time
after being told to stop following the log. Due to a possible race
condition, sometimes data is written to the journal at almost the same
time the log watch is closed, and depending on the order of operations,
sometimes you miss the last journal entry.
Signed-off-by: Andy Goldstein <agoldste@redhat.com>
2017-01-25 09:29:21 -05:00
Harald Albers
926fa56c0d
Add bash completion for docker checkpoint
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-01-25 12:55:56 +01:00