github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/docs/reference/commandline/plugin_disable.md (about) 1 --- 2 title: "plugin disable" 3 description: "the plugin disable command description and usage" 4 keywords: "plugin, disable" 5 --- 6 7 # plugin disable 8 9 ```markdown 10 Usage: docker plugin disable [OPTIONS] PLUGIN 11 12 Disable a plugin 13 14 Options: 15 -f, --force Force the disable of an active plugin 16 --help Print usage 17 ``` 18 19 ## Description 20 21 Disables a plugin. The plugin must be installed before it can be disabled, 22 see [`docker plugin install`](plugin_install.md). Without the `-f` option, 23 a plugin that has references (e.g., volumes, networks) cannot be disabled. 24 25 ## Examples 26 27 The following example shows that the `sample-volume-plugin` plugin is installed 28 and enabled: 29 30 ```bash 31 $ docker plugin ls 32 33 ID NAME DESCRIPTION ENABLED 34 69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker true 35 ``` 36 37 To disable the plugin, use the following command: 38 39 ```bash 40 $ docker plugin disable tiborvass/sample-volume-plugin 41 42 tiborvass/sample-volume-plugin 43 44 $ docker plugin ls 45 46 ID NAME DESCRIPTION ENABLED 47 69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker false 48 ``` 49 50 ## Related commands 51 52 * [plugin create](plugin_create.md) 53 * [plugin enable](plugin_enable.md) 54 * [plugin inspect](plugin_inspect.md) 55 * [plugin install](plugin_install.md) 56 * [plugin ls](plugin_ls.md) 57 * [plugin push](plugin_push.md) 58 * [plugin rm](plugin_rm.md) 59 * [plugin set](plugin_set.md) 60 * [plugin upgrade](plugin_upgrade.md)