mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
05a75a567a
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
(cherry picked from commit 9e414bfa6b
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
1.7 KiB
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