github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/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  # plugin rm
     8  
     9  ```markdown
    10  Usage:  docker plugin rm [OPTIONS] PLUGIN [PLUGIN...]
    11  
    12  Remove one or more plugins
    13  
    14  Aliases:
    15    rm, remove
    16  
    17  Options:
    18        -f, --force  Force the removal of an active plugin
    19            --help   Print usage
    20  ```
    21  
    22  ## Description
    23  
    24  Removes a plugin. You cannot remove a plugin if it is enabled, you must disable
    25  a plugin using the [`docker plugin disable`](plugin_disable.md) before removing
    26  it (or use --force, use of force is not recommended, since it can affect
    27  functioning of running containers using the plugin).
    28  
    29  ## Examples
    30  
    31  The following example disables and removes the `sample-volume-plugin:latest`
    32  plugin:
    33  
    34  ```bash
    35  $ docker plugin disable tiborvass/sample-volume-plugin
    36  
    37  tiborvass/sample-volume-plugin
    38  
    39  $ docker plugin rm tiborvass/sample-volume-plugin:latest
    40  
    41  tiborvass/sample-volume-plugin
    42  ```
    43  
    44  ## Related commands
    45  
    46  * [plugin create](plugin_create.md)
    47  * [plugin disable](plugin_disable.md)
    48  * [plugin enable](plugin_enable.md)
    49  * [plugin inspect](plugin_inspect.md)
    50  * [plugin install](plugin_install.md)
    51  * [plugin ls](plugin_ls.md)
    52  * [plugin push](plugin_push.md)
    53  * [plugin set](plugin_set.md)
    54  * [plugin upgrade](plugin_upgrade.md)