From 24c39ea25b955db0d504ae8a81164fc1aa2e42e8 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Fri, 22 Jul 2016 08:24:54 -0700 Subject: [PATCH] Add --force to docker plugin remove Signed-off-by: Victor Vieux --- docs/reference/commandline/plugin_rm.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/reference/commandline/plugin_rm.md b/docs/reference/commandline/plugin_rm.md index 4225b5fad2..6535b5e102 100644 --- a/docs/reference/commandline/plugin_rm.md +++ b/docs/reference/commandline/plugin_rm.md @@ -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;