2016-10-14 15:30:36 -07:00
|
|
|
---
|
|
|
|
title: "plugin disable"
|
|
|
|
description: "the plugin disable command description and usage"
|
2016-11-03 15:48:30 -07:00
|
|
|
keywords: "plugin, disable"
|
2016-10-14 15:30:36 -07:00
|
|
|
---
|
2016-06-09 23:57:15 +02:00
|
|
|
|
2016-10-19 10:25:45 -07:00
|
|
|
<!-- This file is maintained within the docker/docker Github
|
|
|
|
repository at https://github.com/docker/docker/. Make all
|
|
|
|
pull requests against that repo. If you see this file in
|
|
|
|
another repository, consider it read-only there, as it will
|
|
|
|
periodically be overwritten by the definitive file. Pull
|
|
|
|
requests which include edits to this file in other repositories
|
|
|
|
will be rejected.
|
|
|
|
-->
|
|
|
|
|
2016-11-09 17:49:09 -08:00
|
|
|
# plugin disable
|
2016-06-09 23:57:15 +02:00
|
|
|
|
2016-07-07 20:43:18 +02:00
|
|
|
```markdown
|
|
|
|
Usage: docker plugin disable PLUGIN
|
2016-06-09 23:57:15 +02:00
|
|
|
|
2016-07-07 20:43:18 +02:00
|
|
|
Disable a plugin
|
2016-06-09 23:57:15 +02:00
|
|
|
|
2016-07-07 20:43:18 +02:00
|
|
|
Options:
|
2016-12-20 08:26:58 -08:00
|
|
|
-f, --force Force the disable of an active plugin
|
|
|
|
--help Print usage
|
2016-07-07 20:43:18 +02:00
|
|
|
```
|
2016-06-09 23:57:15 +02:00
|
|
|
|
|
|
|
Disables a plugin. The plugin must be installed before it can be disabled,
|
2016-12-20 08:26:58 -08:00
|
|
|
see [`docker plugin install`](plugin_install.md). Without the `-f` option,
|
|
|
|
a plugin that has references (eg, volumes, networks) cannot be disabled.
|
2016-06-09 23:57:15 +02:00
|
|
|
|
|
|
|
|
2016-07-20 23:37:55 +02:00
|
|
|
The following example shows that the `no-remove` plugin is installed
|
2016-08-04 16:19:46 -07:00
|
|
|
and enabled:
|
2016-06-09 23:57:15 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker plugin ls
|
2016-07-20 23:37:55 +02:00
|
|
|
|
2016-12-27 02:17:35 +08:00
|
|
|
ID NAME TAG DESCRIPTION ENABLED
|
|
|
|
69553ca1d123 tiborvass/no-remove latest A test plugin for Docker true
|
2016-06-09 23:57:15 +02:00
|
|
|
```
|
2016-07-20 23:37:55 +02:00
|
|
|
|
2016-06-09 23:57:15 +02:00
|
|
|
To disable the plugin, use the following command:
|
|
|
|
|
|
|
|
```bash
|
2016-07-20 23:37:55 +02:00
|
|
|
$ docker plugin disable tiborvass/no-remove
|
|
|
|
|
|
|
|
tiborvass/no-remove
|
2016-06-09 23:57:15 +02:00
|
|
|
|
|
|
|
$ docker plugin ls
|
2016-07-20 23:37:55 +02:00
|
|
|
|
2016-12-27 02:17:35 +08:00
|
|
|
ID NAME TAG DESCRIPTION ENABLED
|
|
|
|
69553ca1d123 tiborvass/no-remove latest A test plugin for Docker false
|
2016-06-09 23:57:15 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Related information
|
|
|
|
|
2016-10-04 12:01:19 -07:00
|
|
|
* [plugin create](plugin_create.md)
|
2016-06-09 23:57:15 +02:00
|
|
|
* [plugin enable](plugin_enable.md)
|
|
|
|
* [plugin inspect](plugin_inspect.md)
|
|
|
|
* [plugin install](plugin_install.md)
|
2016-11-14 08:38:06 -08:00
|
|
|
* [plugin ls](plugin_ls.md)
|
|
|
|
* [plugin push](plugin_push.md)
|
2016-06-09 23:57:15 +02:00
|
|
|
* [plugin rm](plugin_rm.md)
|
2016-10-31 17:07:05 -07:00
|
|
|
* [plugin set](plugin_set.md)
|