2016-10-14 22:30:36 +00:00
|
|
|
---
|
|
|
|
title: "plugin enable"
|
|
|
|
description: "the plugin enable command description and usage"
|
2016-11-03 22:48:30 +00:00
|
|
|
keywords: "plugin, enable"
|
2016-10-14 22:30:36 +00:00
|
|
|
---
|
2016-06-09 21:57:15 +00:00
|
|
|
|
2016-10-19 17:25:45 +00:00
|
|
|
<!-- This file is maintained within the docker/docker Github
|
|
|
|
repository at https://github.com/docker/docker/. Make all
|
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
2016-11-10 01:49:09 +00:00
|
|
|
# plugin enable
|
2016-06-09 21:57:15 +00:00
|
|
|
|
2016-07-07 18:43:18 +00:00
|
|
|
```markdown
|
2016-11-24 20:07:06 +00:00
|
|
|
Usage: docker plugin enable [OPTIONS] PLUGIN
|
2016-06-09 21:57:15 +00:00
|
|
|
|
2016-07-07 18:43:18 +00:00
|
|
|
Enable a plugin
|
2016-06-09 21:57:15 +00:00
|
|
|
|
2016-07-07 18:43:18 +00:00
|
|
|
Options:
|
2016-11-23 14:42:40 +00:00
|
|
|
--help Print usage
|
|
|
|
--timeout int HTTP client timeout (in seconds)
|
2016-07-07 18:43:18 +00:00
|
|
|
```
|
2016-06-09 21:57:15 +00:00
|
|
|
|
2017-02-07 23:42:48 +00:00
|
|
|
## Description
|
|
|
|
|
2016-06-09 21:57:15 +00:00
|
|
|
Enables a plugin. The plugin must be installed before it can be enabled,
|
|
|
|
see [`docker plugin install`](plugin_install.md).
|
|
|
|
|
2017-02-07 23:42:48 +00:00
|
|
|
## Examples
|
2016-06-09 21:57:15 +00:00
|
|
|
|
2016-12-14 08:35:34 +00:00
|
|
|
The following example shows that the `sample-volume-plugin` plugin is installed,
|
2016-08-04 23:19:46 +00:00
|
|
|
but disabled:
|
2016-06-09 21:57:15 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker plugin ls
|
2016-07-20 21:37:55 +00:00
|
|
|
|
2016-12-14 08:35:34 +00:00
|
|
|
ID NAME TAG DESCRIPTION ENABLED
|
|
|
|
69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker false
|
2016-06-09 21:57:15 +00:00
|
|
|
```
|
2016-07-20 21:37:55 +00:00
|
|
|
|
2016-06-09 21:57:15 +00:00
|
|
|
To enable the plugin, use the following command:
|
|
|
|
|
|
|
|
```bash
|
2016-12-14 08:35:34 +00:00
|
|
|
$ docker plugin enable tiborvass/sample-volume-plugin
|
2016-07-20 21:37:55 +00:00
|
|
|
|
2016-12-14 08:35:34 +00:00
|
|
|
tiborvass/sample-volume-plugin
|
2016-06-09 21:57:15 +00:00
|
|
|
|
|
|
|
$ docker plugin ls
|
2016-07-20 21:37:55 +00:00
|
|
|
|
2016-12-14 08:35:34 +00:00
|
|
|
ID NAME TAG DESCRIPTION ENABLED
|
|
|
|
69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker true
|
2016-06-09 21:57:15 +00:00
|
|
|
```
|
|
|
|
|
2017-02-07 23:42:48 +00:00
|
|
|
## Related commands
|
2016-06-09 21:57:15 +00:00
|
|
|
|
2016-10-04 19:01:19 +00:00
|
|
|
* [plugin create](plugin_create.md)
|
2016-06-09 21:57:15 +00:00
|
|
|
* [plugin disable](plugin_disable.md)
|
|
|
|
* [plugin inspect](plugin_inspect.md)
|
|
|
|
* [plugin install](plugin_install.md)
|
2016-11-14 16:38:06 +00:00
|
|
|
* [plugin ls](plugin_ls.md)
|
|
|
|
* [plugin push](plugin_push.md)
|
2016-06-09 21:57:15 +00:00
|
|
|
* [plugin rm](plugin_rm.md)
|
2016-11-01 00:07:05 +00:00
|
|
|
* [plugin set](plugin_set.md)
|
2017-01-29 00:54:32 +00:00
|
|
|
* [plugin upgrade](plugin_upgrade.md)
|