Add --force to docker plugin remove

Signed-off-by: Victor Vieux <vieux@docker.com>
master
Victor Vieux 2016-07-22 08:24:54 -07:00 committed by Tibor Vass
parent 811862e8ab
commit 24c39ea25b
1 changed files with 5 additions and 3 deletions

View File

@ -12,7 +12,7 @@ parent = "smn_cli"
# plugin rm (experimental)
```markdown
Usage: docker plugin rm PLUGIN
Usage: docker plugin rm [OPTIONS] PLUGIN [PLUGIN...]
Remove a plugin
@ -20,12 +20,14 @@ Aliases:
rm, remove
Options:
--help Print usage
-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.
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;