github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/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  # plugin enable
     8  
     9  ```markdown
    10  Usage:  docker plugin enable [OPTIONS] PLUGIN
    11  
    12  Enable a plugin
    13  
    14  Options:
    15        --help          Print usage
    16        --timeout int   HTTP client timeout (in seconds)
    17  ```
    18  
    19  ## Description
    20  
    21  Enables a plugin. The plugin must be installed before it can be enabled,
    22  see [`docker plugin install`](plugin_install.md).
    23  
    24  ## Examples
    25  
    26  The following example shows that the `sample-volume-plugin` plugin is installed,
    27  but disabled:
    28  
    29  ```bash
    30  $ docker plugin ls
    31  
    32  ID            NAME                                    DESCRIPTION                ENABLED
    33  69553ca1d123  tiborvass/sample-volume-plugin:latest   A test plugin for Docker   false
    34  ```
    35  
    36  To enable the plugin, use the following command:
    37  
    38  ```bash
    39  $ docker plugin enable tiborvass/sample-volume-plugin
    40  
    41  tiborvass/sample-volume-plugin
    42  
    43  $ docker plugin ls
    44  
    45  ID            NAME                                    DESCRIPTION                ENABLED
    46  69553ca1d123  tiborvass/sample-volume-plugin:latest   A test plugin for Docker   true
    47  ```
    48  
    49  ## Related commands
    50  
    51  * [plugin create](plugin_create.md)
    52  * [plugin disable](plugin_disable.md)
    53  * [plugin inspect](plugin_inspect.md)
    54  * [plugin install](plugin_install.md)
    55  * [plugin ls](plugin_ls.md)
    56  * [plugin push](plugin_push.md)
    57  * [plugin rm](plugin_rm.md)
    58  * [plugin set](plugin_set.md)
    59  * [plugin upgrade](plugin_upgrade.md)