...
1# plugin rm
2
3<!---MARKER_GEN_START-->
4Remove 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
21Removes a plugin. You cannot remove a plugin if it is enabled, you must disable
22a plugin using the [`docker plugin disable`](plugin_disable.md) before removing
23it, or use `--force`. Use of `--force` is not recommended, since it can affect
24functioning of running containers using the plugin.
25
26## Examples
27
28The following example disables and removes the `sample-volume-plugin:latest`
29plugin:
30
31```console
32$ docker plugin disable tiborvass/sample-volume-plugin
33
34tiborvass/sample-volume-plugin
35
36$ docker plugin rm tiborvass/sample-volume-plugin:latest
37
38tiborvass/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)
View as plain text