DockerCLI/docs/reference/commandline/plugin_disable.md

1.3 KiB

plugin disable (experimental)

Usage:  docker plugin disable PLUGIN

Disable a plugin

Options:
      --help   Print usage

Disables a plugin. The plugin must be installed before it can be disabled, see docker plugin install.

The following example shows that the no-remove plugin is installed and active:

$ docker plugin ls

NAME                  TAG                 DESCRIPTION                ACTIVE
tiborvass/no-remove   latest              A test plugin for Docker   true

To disable the plugin, use the following command:

$ docker plugin disable tiborvass/no-remove

tiborvass/no-remove

After the plugin is disabled, it appears as "inactive" in the list of plugins:

$ docker plugin ls

NAME                  TAG                 DESCRIPTION                ACTIVE
tiborvass/no-remove   latest              A test plugin for Docker   false