ecfe6ab218
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-06-02 00:10:51 +00:00
b8df00a4b4
Provide password to volume create command
...
* Depending on the host configuration between the docker engine and the remote host we wish to mount using sshfs, a password may be required.
* Confirmed syntax for optional parameter with @vieux
* Verified change works as desired with engine running on Ubuntu host and mounting a volume from a file system on a Mac.
Signed-off-by: David Williamson <david.williamson@docker.com >
2017-06-02 00:10:51 +00:00
79479e040f
Add docs for service create based on plugins.
...
Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com >
2017-06-02 00:10:51 +00:00
7953201f9d
Fix json format of plugin
...
Signed-off-by: Janonymous <janonymous.codevulture@gmail.com >
2017-06-02 00:10:51 +00:00
f75cb34afa
plugins: add example docs for a rexray plugin
...
Signed-off-by: Tibor Vass <tibor@docker.com >
2017-06-02 00:10:49 +00:00
b5758e62de
Fix some typos
...
Signed-off-by: Zhang Wei <zhangwei555@huawei.com >
2017-06-02 00:10:49 +00:00
8c3f18ca6d
plugins: rename DeviceCreation to AllowAllDevices
...
Signed-off-by: Tibor Vass <tibor@docker.com >
2017-06-02 00:10:48 +00:00
63aa05d3f7
replace no-remove by sample-volume-plugin in docs
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2017-06-02 00:10:47 +00:00
b839363db9
Reference new DigitalOcean plugin ( Closes #29729 )
...
Signed-off-by: Ovidio Mallo <ovidio.mallo@gmail.com >
2017-06-02 00:10:47 +00:00
a724a5d8c9
fix some typos
...
Signed-off-by: zhenghenghuo <zhenghenghuo@zju.edu.cn >
try to pass test
Signed-off-by: zhenghenghuo <zhenghenghuo@zju.edu.cn >
try to pass the test
Signed-off-by: zhenghenghuo <zhenghenghuo@zju.edu.cn >
2017-06-02 00:10:46 +00:00
fcb3a0e88b
Update 'ID' field for 'docker plugin ls'
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
2017-06-02 00:10:46 +00:00
a59544ff3d
Moves graphdriver plugn docs out of experimental
...
Also updates some of the structures being sent so plugins are getting
all the new options.
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2017-06-02 00:10:46 +00:00
b5b3dd4c6b
Implement content addressability for plugins
...
Move plugins to shared distribution stack with images.
Create immutable plugin config that matches schema2 requirements.
Ensure data being pushed is same as pulled/created.
Store distribution artifacts in a blobstore.
Run init layer setup for every plugin start.
Fix breakouts from unsafe file accesses.
Add support for `docker plugin install --alias`
Uses normalized references for default names to avoid collisions when using default hosts/tags.
Some refactoring of the plugin manager to support the change, like removing the singleton manager and adding manager config struct.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2017-06-02 00:10:46 +00:00
08ba19c291
Add Fuxi Volume Plugin to the docs
...
Signed-off-by: Hongbin Lu <hongbin034@gmail.com >
2017-06-02 00:10:45 +00:00
5bfa17e58b
remove old media type compat for plugins
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2017-06-02 00:10:44 +00:00
2373288938
replace env description with args in extend config
...
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn >
2017-06-02 00:10:44 +00:00
5a84f77819
plugins: container-rootfs-relative paths
...
Legacy plugins expect host-relative paths (such as for Volume.Mount).
However, a containerized plugin cannot respond with a host-relative
path. Therefore, this commit modifies new volume plugins' paths in Mount
and List to prepend the container's rootfs path.
This introduces a new PropagatedMount field in the Plugin Config.
When it is set for volume plugins, RootfsPropagation is set to rshared
and the path specified by PropagatedMount is bind-mounted with rshared
prior to launching the container. This is so that the daemon code can
access the paths returned by the plugin from the host mount namespace.
Signed-off-by: Tibor Vass <tibor@docker.com >
2017-06-02 00:10:43 +00:00
b82e761088
update plugin example
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com >
cleanup whitespace formatting
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-06-02 00:10:42 +00:00
d5b3df0c2f
Fix some redirect loops and problems
...
Signed-off-by: Misty Stanley-Jones <misty@docker.com >
2017-06-02 00:10:42 +00:00
be6e3311f2
modify invalid url in plugins_network.md
...
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn >
2017-06-02 00:10:41 +00:00
b70edf410d
plugins: misc fixes
...
Rename variable to reflect manifest -> config renaming
Populate Description fields when computing privileges.
Refactor/reuse code from daemon/oci_linux.go
Signed-off-by: Tibor Vass <tibor@docker.com >
2017-06-02 00:10:40 +00:00
2cfcc8a8fa
Rename Remote API to Engine API
...
Implementation of https://github.com/docker/docker/issues/28319
Signed-off-by: Ben Firshman <ben@firshman.co.uk >
2017-06-02 00:10:40 +00:00
e0ce0361ba
add note that windows does not support managed plugins
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-06-02 00:10:40 +00:00
6393eac011
Edits to plugin docs after building authz plugin
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-06-02 00:10:39 +00:00
410d4ce7ae
move plugins out of experimental
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2017-06-02 00:10:37 +00:00
fdfcbe778a
rename plugin manifest
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2017-06-02 00:10:36 +00:00
4126b5526c
fix frontmatter keywords value type (string, instead of []string)
...
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com >
2017-06-02 00:10:31 +00:00
9b109cd9a7
fill all the rest invalid address because no related directory
...
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn >
2017-06-02 00:10:30 +00:00
2603a9c1dd
fill the complete address because of no userguide directory
...
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn >
2017-06-02 00:10:30 +00:00
7ec82562ce
Rewrites to Developing Plugins topic
...
Signed-off-by: Misty Stanley-Jones <misty@docker.com >
2017-06-02 00:10:26 +00:00
7f36c3a1a0
Sync docker/docker refs with files mistakenly edited in docker.github.io repo
...
Signed-off-by: Misty Stanley-Jones <misty@docker.com >
2017-06-02 00:10:26 +00:00
a16bba06fd
Fix code block fences and typo.
...
Signed-off-by: Ding Fei <dingfei@stars.org.cn >
2017-06-02 00:10:24 +00:00
ba49f7bfe9
fix wrong output titile for docker volume ls
...
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn >
2017-06-02 00:10:24 +00:00
2845676cc2
Convert Markdown frontmatter to YAML
...
Some frontmatter such as the weights, menu stuff, etc is no longer used
'draft=true' becomes 'published: false'
Signed-off-by: Misty Stanley-Jones <misty@docker.com >
2017-06-02 00:10:24 +00:00
12a3920153
Add a link to the new build instructions
...
Signed-off-by: Misty Stanley-Jones <misty@docker.com >
2017-06-02 00:10:24 +00:00
68d252bc19
Remove old documentation, add README.md with pointer
...
Signed-off-by: John Mulhausen <john@docker.com >
2017-06-02 00:10:22 +00:00
5790fa5793
Add Portworx Volume Plugin Description
...
Signed-off-by: Jeff Silberman <jsilberm@gmail.com >
2017-06-02 00:10:11 +00:00
0d521e018a
add some plugin manifest reference doc
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2017-06-02 00:10:09 +00:00
be3bfbec55
docs: mention NFS support for contiv volume plugin
...
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com >
2017-06-02 00:10:08 +00:00
9c9cd1a439
some fixes to clean up new plugin system docs
...
Signed-off-by: Charles Smith <charles.smith@docker.com >
2017-06-02 00:10:07 +00:00
ed38ec18bf
Replace docker command from 'docker daemon' to 'dockerd'
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
2017-06-02 00:10:06 +00:00
016a00dc6e
Modify incorrect repository URL
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
2017-06-02 00:10:06 +00:00
ebc23f6116
fix broken link
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2017-06-02 00:10:06 +00:00
16de3a25f4
edit plugin system doc, fix menu system
...
Signed-off-by: Charles Smith <charles.smith@docker.com >
2017-06-02 00:10:05 +00:00
4755904cc3
adding some documentation about the new plugin system
...
Signed-off-by: Victor Vieux <vieux@docker.com >
2017-06-02 00:10:05 +00:00
e428a09ae7
Enable to dynamically reload authorization plugins via daemon.config
...
Following #22729 , enable to dynamically reload/remove the daemon
authorization plugins (via standard reloading mechanism).
https://docs.docker.com/engine/reference/commandline/daemon/#daemon-
configuration-file
Daemon must store a reference to the authorization middleware to refresh
the plugin on configuration changes.
Signed-off-by: Liron Levin <liron@twistlock.com >
2017-06-02 00:10:04 +00:00
d41421140c
Fix AuthzPlugin URL fragment in docs
...
These docs have AuthzPlugin with a lower case 'z'. What the plugin
api is actually looking for is AuthZPlugin with an upper case 'Z'.
See 46e3a249a1/pkg/authorization/api.go (L5-L8)
Signed-off-by: Everett Toews <everett.toews@rackspace.com >
2017-06-02 00:10:02 +00:00
c1a192293e
Delete redundant content of 'docs/extend/plugins.md'
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn >
Update plugins.md
Update plugins.md
2017-06-02 00:07:51 +00:00
253a5f4ea2
Rename --net to --network
...
Add a `--network` flag which replaces `--net` without deprecating it
yet. The `--net` flag remains hidden and supported.
Add a `--network-alias` flag which replaces `--net-alias` without deprecating
it yet. The `--net-alias` flag remains hidden and supported.
Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com >
2017-06-02 00:07:50 +00:00
aa3344679a
add caveat for network plugins in swarm mode
...
Signed-off-by: Charles Smith <charles.smith@docker.com >
2017-06-02 00:07:49 +00:00