github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/docs/reference/commandline/plugin_rm.md (about)

     1  ---
     2  title: "plugin rm"
     3  description: "the plugin rm command description and usage"
     4  keywords: "plugin, rm"
     5  ---
     6  
     7  <!-- This file is maintained within the docker/cli GitHub
     8       repository at https://github.com/docker/cli/. 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 rm
    17  
    18  ```markdown
    19  Usage:  docker plugin rm [OPTIONS] PLUGIN [PLUGIN...]
    20  
    21  Remove one or more plugins
    22  
    23  Aliases:
    24    rm, remove
    25  
    26  Options:
    27        -f, --force  Force the removal of an active plugin
    28            --help   Print usage
    29  ```
    30  
    31  ## Description
    32  
    33  Removes a plugin. You cannot remove a plugin if it is enabled, you must disable
    34  a plugin using the [`docker plugin disable`](plugin_disable.md) before removing
    35  it (or use --force, use of force is not recommended, since it can affect
    36  functioning of running containers using the plugin).
    37  
    38  ## Examples
    39  
    40  The following example disables and removes the `sample-volume-plugin:latest`
    41  plugin:
    42  
    43  ```bash
    44  $ docker plugin disable tiborvass/sample-volume-plugin
    45  
    46  tiborvass/sample-volume-plugin
    47  
    48  $ docker plugin rm tiborvass/sample-volume-plugin:latest
    49  
    50  tiborvass/sample-volume-plugin
    51  ```
    52  
    53  ## Related commands
    54  
    55  * [plugin create](plugin_create.md)
    56  * [plugin disable](plugin_disable.md)
    57  * [plugin enable](plugin_enable.md)
    58  * [plugin inspect](plugin_inspect.md)
    59  * [plugin install](plugin_install.md)
    60  * [plugin ls](plugin_ls.md)
    61  * [plugin push](plugin_push.md)
    62  * [plugin set](plugin_set.md)
    63  * [plugin upgrade](plugin_upgrade.md)