1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/reference/commandline/plugin_rm.md
Victor Vieux 0016b331da Add --force to docker plugin remove
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-08-04 15:55:45 -07:00

1.1 KiB

plugin rm (experimental)

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 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;

$ docker plugin disable tiborvass/no-remove
tiborvass/no-remove

$ docker plugin rm tiborvass/no-remove:latest
tiborvass/no-remove