github.com/kobeld/docker@v1.12.0-rc1/docs/reference/commandline/plugin_install.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "plugin install"
     4  description = "the plugin install command description and usage"
     5  keywords = ["plugin, install"]
     6  [menu.main]
     7  parent = "smn_cli"
     8  advisory = "experimental"
     9  +++
    10  <![end-metadata]-->
    11  
    12  # plugin install (experimental)
    13  
    14      Usage: docker plugin install PLUGIN
    15  
    16      Install a plugin
    17  
    18        --help             Print usage
    19  
    20  Installs and enables a plugin. Docker looks first for the plugin on your Docker
    21  host. If the plugin does not exist locally, then the plugin is pulled from
    22  Docker Hub.
    23  
    24  
    25  The following example installs `no-remove` plugin. Install consists of pulling the
    26  plugin from Docker Hub, prompting the user to accept the list of privileges that
    27  the plugin needs and enabling the plugin.
    28  
    29  ```bash
    30  $ docker plugin install tiborvass/no-remove
    31  Plugin "tiborvass/no-remove:latest" requested the following privileges:
    32   - Networking: host
    33   - Mounting host path: /data
    34  Do you grant the above permissions? [y/N] y
    35  ```
    36  
    37  After the plugin is installed, it appears in the list of plugins:
    38  
    39  ```bash
    40  $ docker plugin ls
    41  NAME                	VERSION             ACTIVE
    42  tiborvass/no-remove   latest              true
    43  ```
    44  
    45  ## Related information
    46  
    47  * [plugin ls](plugin_ls.md)
    48  * [plugin enable](plugin_enable.md)
    49  * [plugin disable](plugin_disable.md)
    50  * [plugin inspect](plugin_inspect.md)
    51  * [plugin rm](plugin_rm.md)