Merge pull request #25096 from vieux/docker_plugin_remove_force

Add --force to docker plugin remove
Upstream-commit: 85428a1a53292684be55de9de3646e8c4745c72e
Component: engine
This commit is contained in:
Vincent Demeester
2016-08-05 14:45:05 +02:00
committed by GitHub
13 changed files with 86 additions and 24 deletions
@@ -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;