summaryrefslogtreecommitdiff
path: root/api/server/router/plugin/plugin.go
Commit message (Collapse)AuthorAgeFilesLines
* Rely on request.Context() cancellationBrian Goff2018-11-271-4/+4
| | | | | | | | The cancellable handler is no longer needed as the context that is passed with the http request will be cancelled just like the close notifier was doing. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Add canonical import commentDaniel Nephin2018-02-051-1/+1
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Use function arguments for route setup.Brian Goff2017-04-121-3/+3
| | | | Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Add docker plugin upgradeBrian Goff2017-02-031-0/+1
| | | | | | | | | | | | | | | | This allows a plugin to be upgraded without requiring to uninstall/reinstall a plugin. Since plugin resources (e.g. volumes) are tied to a plugin ID, this is important to ensure resources aren't lost. The plugin must be disabled while upgrading (errors out if enabled). This does not add any convenience flags for automatically disabling/re-enabling the plugin during before/after upgrade. Since an upgrade may change requested permissions, the user is required to accept permissions just like `docker plugin install`. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Implement content addressability for pluginsTonis Tiigi2016-12-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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>
* refactor plugin installVictor Vieux2016-12-021-1/+2
| | | | Signed-off-by: Victor Vieux <victorvieux@gmail.com>
* Add plugin create functionality.Anusha Ragunathan2016-11-091-0/+1
| | | | Signed-off-by: Anusha Ragunathan <anusha@docker.com>
* Make experimental a runtime flagKenfe-Mickael Laventure2016-10-241-0/+13
| | | | Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
* plugins: experimental support for new plugin managementTibor Vass2016-06-141-0/+23
This patch introduces a new experimental engine-level plugin management with a new API and command line. Plugins can be distributed via a Docker registry, and their lifecycle is managed by the engine. This makes plugins a first-class construct. For more background, have a look at issue #20363. Documentation is in a separate commit. If you want to understand how the new plugin system works, you can start by reading the documentation. Note: backwards compatibility with existing plugins is maintained, albeit they won't benefit from the advantages of the new system. Signed-off-by: Tibor Vass <tibor@docker.com> Signed-off-by: Anusha Ragunathan <anusha@docker.com>