plugin_enable.md 1.2 KB


redirect_from:

  • /reference/commandline/plugin_enable/ advisory: experimental description: the plugin enable command description and usage keywords:
  • plugin, enable

    title: docker plugin enable (experimental)

    Usage:  docker plugin enable PLUGIN
    
    Enable a plugin
    
    Options:
      --help   Print usage
    

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 ("inactive"):

$ docker plugin ls

NAME                    VERSION             ACTIVE
tiborvass/no-remove     latest              false

To enable the plugin, use the following command:

$ docker plugin enable tiborvass/no-remove

tiborvass/no-remove

After the plugin is enabled, it appears as "active" in the list of plugins:

$ docker plugin ls

NAME                    VERSION             ACTIVE
tiborvass/no-remove     latest              true

Related information