2016-06-09 17:57:15 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "plugin rm"
|
|
|
|
description = "the plugin rm command description and usage"
|
|
|
|
keywords = ["plugin, rm"]
|
2016-06-16 14:52:34 -04:00
|
|
|
advisory = "experimental"
|
2016-06-09 17:57:15 -04:00
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
# plugin rm (experimental)
|
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
```markdown
|
|
|
|
Usage: docker plugin rm PLUGIN
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Remove a plugin
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Aliases:
|
|
|
|
rm, remove
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
```
|
2016-06-09 17:57:15 -04:00
|
|
|
|
|
|
|
Removes a plugin. You cannot remove a plugin if it is active, you must disable
|
|
|
|
a plugin using the [`docker plugin disable`](plugin_disable.md) before removing
|
|
|
|
it.
|
|
|
|
|
|
|
|
The following example disables and removes the `no-remove:latest` plugin;
|
|
|
|
|
|
|
|
```bash
|
2016-07-20 17:37:55 -04:00
|
|
|
$ docker plugin disable tiborvass/no-remove
|
2016-07-20 17:59:38 -04:00
|
|
|
tiborvass/no-remove
|
2016-07-20 17:37:55 -04:00
|
|
|
|
2016-06-09 17:57:15 -04:00
|
|
|
$ docker plugin rm tiborvass/no-remove:latest
|
2016-07-20 17:59:38 -04:00
|
|
|
tiborvass/no-remove
|
2016-06-09 17:57:15 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
## Related information
|
|
|
|
|
|
|
|
* [plugin ls](plugin_ls.md)
|
|
|
|
* [plugin enable](plugin_enable.md)
|
|
|
|
* [plugin disable](plugin_disable.md)
|
|
|
|
* [plugin inspect](plugin_inspect.md)
|
|
|
|
* [plugin install](plugin_install.md)
|