2016-11-09 20:49:09 -05:00
|
|
|
# plugin rm
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2023-01-06 13:04:05 -05:00
|
|
|
<!---MARKER_GEN_START-->
|
2016-09-01 00:11:02 -04:00
|
|
|
Remove one or more plugins
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2023-01-06 13:04:05 -05:00
|
|
|
### Aliases
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2023-01-06 13:04:05 -05:00
|
|
|
`docker plugin rm`, `docker plugin remove`
|
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
| Name | Type | Default | Description |
|
|
|
|
|:----------------|:-----|:--------|:--------------------------------------|
|
|
|
|
| `-f`, `--force` | | | Force the removal of an active plugin |
|
|
|
|
|
|
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2017-02-07 18:42:48 -05:00
|
|
|
## Description
|
|
|
|
|
2016-08-04 19:19:46 -04:00
|
|
|
Removes a plugin. You cannot remove a plugin if it is enabled, you must disable
|
2016-06-09 17:57:15 -04:00
|
|
|
a plugin using the [`docker plugin disable`](plugin_disable.md) before removing
|
2016-07-22 11:24:54 -04:00
|
|
|
it (or use --force, use of force is not recommended, since it can affect
|
|
|
|
functioning of running containers using the plugin).
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2017-02-07 18:42:48 -05:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
The following example disables and removes the `sample-volume-plugin:latest`
|
|
|
|
plugin:
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2021-08-21 08:54:14 -04:00
|
|
|
```console
|
2016-12-14 03:35:34 -05:00
|
|
|
$ docker plugin disable tiborvass/sample-volume-plugin
|
2017-04-27 17:24:49 -04:00
|
|
|
|
2016-12-14 03:35:34 -05:00
|
|
|
tiborvass/sample-volume-plugin
|
2016-07-20 17:37:55 -04:00
|
|
|
|
2016-12-14 03:35:34 -05:00
|
|
|
$ docker plugin rm tiborvass/sample-volume-plugin:latest
|
2017-04-27 17:24:49 -04:00
|
|
|
|
2016-12-14 03:35:34 -05:00
|
|
|
tiborvass/sample-volume-plugin
|
2016-06-09 17:57:15 -04:00
|
|
|
```
|
|
|
|
|
2017-02-07 18:42:48 -05:00
|
|
|
## Related commands
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-10-04 15:01:19 -04:00
|
|
|
* [plugin create](plugin_create.md)
|
2016-06-09 17:57:15 -04:00
|
|
|
* [plugin disable](plugin_disable.md)
|
2016-11-14 11:38:06 -05:00
|
|
|
* [plugin enable](plugin_enable.md)
|
2016-06-09 17:57:15 -04:00
|
|
|
* [plugin inspect](plugin_inspect.md)
|
|
|
|
* [plugin install](plugin_install.md)
|
2016-11-14 11:38:06 -05:00
|
|
|
* [plugin ls](plugin_ls.md)
|
|
|
|
* [plugin push](plugin_push.md)
|
2016-10-31 20:07:05 -04:00
|
|
|
* [plugin set](plugin_set.md)
|
2017-01-28 19:54:32 -05:00
|
|
|
* [plugin upgrade](plugin_upgrade.md)
|