moby--moby/docs/reference/commandline/plugin_enable.md

1.7 KiB

title description keywords
plugin enable the plugin enable command description and usage plugin, enable

plugin enable

Usage:  docker plugin enable [OPTIONS] PLUGIN

Enable a plugin

Options:
      --help          Print usage
      --timeout int   HTTP client timeout (in seconds)

Enables a plugin. The plugin must be installed before it can be enabled, see docker plugin install.

The following example shows that the no-remove plugin is installed, but disabled:

$ docker plugin ls

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

To enable the plugin, use the following command:

$ docker plugin enable tiborvass/no-remove

tiborvass/no-remove

$ docker plugin ls

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