github.com/olljanat/moby@v1.13.1/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/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 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  Removes a plugin. You cannot remove a plugin if it is enabled, you must disable
    32  a plugin using the [`docker plugin disable`](plugin_disable.md) before removing
    33  it (or use --force, use of force is not recommended, since it can affect
    34  functioning of running containers using the plugin).
    35  
    36  The following example disables and removes the `sample-volume-plugin:latest` plugin;
    37  
    38  ```bash
    39  $ docker plugin disable tiborvass/sample-volume-plugin
    40  tiborvass/sample-volume-plugin
    41  
    42  $ docker plugin rm tiborvass/sample-volume-plugin:latest
    43  tiborvass/sample-volume-plugin
    44  ```
    45  
    46  ## Related information
    47  
    48  * [plugin create](plugin_create.md)
    49  * [plugin disable](plugin_disable.md)
    50  * [plugin enable](plugin_enable.md)
    51  * [plugin inspect](plugin_inspect.md)
    52  * [plugin install](plugin_install.md)
    53  * [plugin ls](plugin_ls.md)
    54  * [plugin push](plugin_push.md)
    55  * [plugin set](plugin_set.md)
    56  * [plugin upgrade](plugin_upgrade.md)