2016-10-14 18:30:36 -04:00
|
|
|
---
|
|
|
|
title: "plugin rm"
|
|
|
|
description: "the plugin rm command description and usage"
|
2016-11-03 18:48:30 -04:00
|
|
|
keywords: "plugin, rm"
|
2016-10-14 18:30:36 -04:00
|
|
|
advisory: "experimental"
|
|
|
|
---
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-10-19 13:25:45 -04:00
|
|
|
<!-- This file is maintained within the docker/docker Github
|
|
|
|
repository at https://github.com/docker/docker/. Make all
|
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
2016-06-09 17:57:15 -04:00
|
|
|
# plugin rm (experimental)
|
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
```markdown
|
2016-07-22 11:24:54 -04:00
|
|
|
Usage: docker plugin rm [OPTIONS] PLUGIN [PLUGIN...]
|
2016-06-09 17:57:15 -04:00
|
|
|
|
2016-09-01 00:11:02 -04:00
|
|
|
Remove one or more plugins
|
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:
|
2016-07-22 11:24:54 -04:00
|
|
|
-f, --force Force the removal of an active plugin
|
|
|
|
--help Print usage
|
2016-07-07 14:43:18 -04:00
|
|
|
```
|
2016-06-09 17:57:15 -04:00
|
|
|
|
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
|
|
|
|
|
|
|
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)
|
2016-10-31 20:07:05 -04:00
|
|
|
* [plugin set](plugin_set.md)
|