github.com/sld880311/docker@v0.0.0-20200524143708-d5593973a475/docs/reference/commandline/plugin_enable.md (about) 1 --- 2 title: "plugin enable" 3 description: "the plugin enable command description and usage" 4 keywords: "plugin, enable" 5 --- 6 7 <!-- This file is maintained within the docker/docker Github 8 repository at https://github.com/docker/docker/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # plugin enable 17 18 ```markdown 19 Usage: docker plugin enable [OPTIONS] PLUGIN 20 21 Enable a plugin 22 23 Options: 24 --help Print usage 25 --timeout int HTTP client timeout (in seconds) 26 ``` 27 28 ## Description 29 30 Enables a plugin. The plugin must be installed before it can be enabled, 31 see [`docker plugin install`](plugin_install.md). 32 33 ## Examples 34 35 The following example shows that the `sample-volume-plugin` plugin is installed, 36 but disabled: 37 38 ```bash 39 $ docker plugin ls 40 41 ID NAME TAG DESCRIPTION ENABLED 42 69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker false 43 ``` 44 45 To enable the plugin, use the following command: 46 47 ```bash 48 $ docker plugin enable tiborvass/sample-volume-plugin 49 50 tiborvass/sample-volume-plugin 51 52 $ docker plugin ls 53 54 ID NAME TAG DESCRIPTION ENABLED 55 69553ca1d123 tiborvass/sample-volume-plugin latest A test plugin for Docker true 56 ``` 57 58 ## Related commands 59 60 * [plugin create](plugin_create.md) 61 * [plugin disable](plugin_disable.md) 62 * [plugin inspect](plugin_inspect.md) 63 * [plugin install](plugin_install.md) 64 * [plugin ls](plugin_ls.md) 65 * [plugin push](plugin_push.md) 66 * [plugin rm](plugin_rm.md) 67 * [plugin set](plugin_set.md) 68 * [plugin upgrade](plugin_upgrade.md)