github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/plugin_rm.md (about)

     1  # plugin rm
     2  
     3  <!---MARKER_GEN_START-->
     4  Remove one or more plugins
     5  
     6  ### Aliases
     7  
     8  `docker plugin rm`, `docker plugin remove`
     9  
    10  ### Options
    11  
    12  | Name            | Type | Default | Description                           |
    13  |:----------------|:-----|:--------|:--------------------------------------|
    14  | `-f`, `--force` |      |         | Force the removal of an active plugin |
    15  
    16  
    17  <!---MARKER_GEN_END-->
    18  
    19  ## Description
    20  
    21  Removes a plugin. You cannot remove a plugin if it is enabled, you must disable
    22  a plugin using the [`docker plugin disable`](plugin_disable.md) before removing
    23  it, or use `--force`. Use of `--force` is not recommended, since it can affect
    24  functioning of running containers using the plugin.
    25  
    26  ## Examples
    27  
    28  The following example disables and removes the `sample-volume-plugin:latest`
    29  plugin:
    30  
    31  ```console
    32  $ docker plugin disable tiborvass/sample-volume-plugin
    33  
    34  tiborvass/sample-volume-plugin
    35  
    36  $ docker plugin rm tiborvass/sample-volume-plugin:latest
    37  
    38  tiborvass/sample-volume-plugin
    39  ```
    40  
    41  ## Related commands
    42  
    43  * [plugin create](plugin_create.md)
    44  * [plugin disable](plugin_disable.md)
    45  * [plugin enable](plugin_enable.md)
    46  * [plugin inspect](plugin_inspect.md)
    47  * [plugin install](plugin_install.md)
    48  * [plugin ls](plugin_ls.md)
    49  * [plugin push](plugin_push.md)
    50  * [plugin set](plugin_set.md)
    51  * [plugin upgrade](plugin_upgrade.md)