github.com/sld880311/docker@v0.0.0-20200524143708-d5593973a475/docs/reference/commandline/plugin_rm.md (about) 1 --- 2 title: "plugin rm" 3 description: "the plugin rm command description and usage" 4 keywords: "plugin, rm" 5 --- 6 7 <!-- This file is maintained within the docker/docker Github 8 repository at https://github.com/docker/docker/. Make all 9 pull requests against that repo. If you see this file in 10 another repository, consider it read-only there, as it will 11 periodically be overwritten by the definitive file. Pull 12 requests which include edits to this file in other repositories 13 will be rejected. 14 --> 15 16 # plugin rm 17 18 ```markdown 19 Usage: docker plugin rm [OPTIONS] PLUGIN [PLUGIN...] 20 21 Remove one or more plugins 22 23 Aliases: 24 rm, remove 25 26 Options: 27 -f, --force Force the removal of an active plugin 28 --help Print usage 29 ``` 30 31 ## Description 32 33 Removes a plugin. You cannot remove a plugin if it is enabled, you must disable 34 a plugin using the [`docker plugin disable`](plugin_disable.md) before removing 35 it (or use --force, use of force is not recommended, since it can affect 36 functioning of running containers using the plugin). 37 38 ## Examples 39 40 The following example disables and removes the `sample-volume-plugin:latest` 41 plugin: 42 43 ```bash 44 $ docker plugin disable tiborvass/sample-volume-plugin 45 tiborvass/sample-volume-plugin 46 47 $ docker plugin rm tiborvass/sample-volume-plugin:latest 48 tiborvass/sample-volume-plugin 49 ``` 50 51 ## Related commands 52 53 * [plugin create](plugin_create.md) 54 * [plugin disable](plugin_disable.md) 55 * [plugin enable](plugin_enable.md) 56 * [plugin inspect](plugin_inspect.md) 57 * [plugin install](plugin_install.md) 58 * [plugin ls](plugin_ls.md) 59 * [plugin push](plugin_push.md) 60 * [plugin set](plugin_set.md) 61 * [plugin upgrade](plugin_upgrade.md)