mirror of https://github.com/docker/docs.git
56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
command: docker plugin rm
|
|
aliases: docker plugin rm, docker plugin remove
|
|
short: Remove one or more plugins
|
|
long: |-
|
|
Removes a plugin. You cannot remove a plugin if it is enabled, you must disable
|
|
a plugin using the [`docker plugin disable`](/reference/cli/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.
|
|
usage: docker plugin rm [OPTIONS] PLUGIN [PLUGIN...]
|
|
pname: docker plugin
|
|
plink: docker_plugin.yaml
|
|
options:
|
|
- option: force
|
|
shorthand: f
|
|
value_type: bool
|
|
default_value: "false"
|
|
description: Force the removal of an active plugin
|
|
deprecated: false
|
|
hidden: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
inherited_options:
|
|
- option: help
|
|
value_type: bool
|
|
default_value: "false"
|
|
description: Print usage
|
|
deprecated: false
|
|
hidden: true
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
examples: |-
|
|
The following example disables and removes the `sample-volume-plugin:latest`
|
|
plugin:
|
|
|
|
```console
|
|
$ docker plugin disable tiborvass/sample-volume-plugin
|
|
|
|
tiborvass/sample-volume-plugin
|
|
|
|
$ docker plugin rm tiborvass/sample-volume-plugin:latest
|
|
|
|
tiborvass/sample-volume-plugin
|
|
```
|
|
deprecated: false
|
|
hidden: false
|
|
min_api_version: "1.25"
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
|