mirror of
https://github.com/docker/docs.git
synced 2026-03-28 06:49:00 +07:00
49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
---
|
|
advisory: experimental
|
|
description: the plugin rm command description and usage
|
|
keywords:
|
|
- plugin, rm
|
|
menu:
|
|
main:
|
|
parent: smn_cli
|
|
title: plugin rm
|
|
---
|
|
|
|
# plugin rm (experimental)
|
|
|
|
```markdown
|
|
Usage: docker plugin rm [OPTIONS] PLUGIN [PLUGIN...]
|
|
|
|
Remove a plugin
|
|
|
|
Aliases:
|
|
rm, remove
|
|
|
|
Options:
|
|
-f, --force Force the removal of an active plugin
|
|
--help Print usage
|
|
```
|
|
|
|
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 (or use --force, use of force is not recommended, since it can affect
|
|
functioning of running containers using the plugin).
|
|
|
|
The following example disables and removes the `no-remove:latest` plugin;
|
|
|
|
```bash
|
|
$ docker plugin disable tiborvass/no-remove
|
|
tiborvass/no-remove
|
|
|
|
$ docker plugin rm tiborvass/no-remove:latest
|
|
tiborvass/no-remove
|
|
```
|
|
|
|
## 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)
|