docker plugin enable

Estimated reading time: 1 minute

Description

Enable a plugin

Usage

docker plugin enable [OPTIONS] PLUGIN

Options

Name, shorthand Default Description
--timeout 0 HTTP client timeout (in seconds)

Parent command

Command Description
docker plugin Manage plugins
Command Description
docker plugin create Create a plugin from a rootfs and configuration. Plugin data directory must contain config.json and rootfs directory.
docker plugin disable Disable a plugin
docker plugin enable Enable a plugin
docker plugin inspect Display detailed information on one or more plugins
docker plugin install Install a plugin
docker plugin ls List plugins
docker plugin push Push a plugin to a registry
docker plugin rm Remove one or more plugins
docker plugin set Change settings for a plugin
docker plugin upgrade Upgrade an existing plugin

Extended description

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

Examples

The following example shows that the sample-volume-plugin plugin is installed, but disabled:

$ docker plugin ls

ID                  NAME                             TAG                 DESCRIPTION                ENABLED
69553ca1d123        tiborvass/sample-volume-plugin   latest              A test plugin for Docker   false

To enable the plugin, use the following command:

$ docker plugin enable tiborvass/sample-volume-plugin

tiborvass/sample-volume-plugin

$ docker plugin ls

ID                  NAME                             TAG                 DESCRIPTION                ENABLED
69553ca1d123        tiborvass/sample-volume-plugin   latest              A test plugin for Docker   true
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support