Add --force to docker plugin remove
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
811862e8ab
commit
24c39ea25b
@ -12,7 +12,7 @@ parent = "smn_cli"
|
|||||||
# plugin rm (experimental)
|
# plugin rm (experimental)
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
Usage: docker plugin rm PLUGIN
|
Usage: docker plugin rm [OPTIONS] PLUGIN [PLUGIN...]
|
||||||
|
|
||||||
Remove a plugin
|
Remove a plugin
|
||||||
|
|
||||||
@ -20,12 +20,14 @@ Aliases:
|
|||||||
rm, remove
|
rm, remove
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
-f, --force Force the removal of an active plugin
|
||||||
--help Print usage
|
--help Print usage
|
||||||
```
|
```
|
||||||
|
|
||||||
Removes a plugin. You cannot remove a plugin if it is active, you must disable
|
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
|
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;
|
The following example disables and removes the `no-remove:latest` plugin;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user