Remove one or more plugins
$ docker plugin rm [OPTIONS] PLUGIN [PLUGIN...]
Refer to the options section for an overview of available OPTIONS
for this command.
Removes a plugin. You cannot remove a plugin if it is enabled, 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).
For example uses of this command, refer to the examples section below.
Name, shorthand | Default | Description |
--force , -f
| Force the removal of an active plugin |
The following example disables and removes the sample-volume-plugin:latest
plugin:
$ docker plugin disable tiborvass/sample-volume-plugin
tiborvass/sample-volume-plugin
$ docker plugin rm tiborvass/sample-volume-plugin:latest
tiborvass/sample-volume-plugin
Command | Description |
---|---|
docker plugin | Manage plugins |
Command | Description |
docker plugin create | Create a plugin from a rootfs and configuration. Plugin data directory must contain config.json and rootfs directory. |
docker plugin disable | Disable a plugin |
docker plugin enable | Enable a plugin |
docker plugin inspect | Display detailed information on one or more plugins |
docker plugin install | Install a plugin |
docker plugin ls | List plugins |
docker plugin push | Push a plugin to a registry |
docker plugin rm | Remove one or more plugins |
docker plugin set | Change settings for a plugin |
docker plugin upgrade | Upgrade an existing plugin |
© 2019 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/engine/reference/commandline/plugin_rm/