Files
docker-docs/data/engine-cli/docker_plugin_enable.yaml
David Karlsson a0d21ade2f migrate to hugo
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 09:41:02 +02:00

61 lines
1.6 KiB
YAML

command: docker plugin enable
short: Enable a plugin
long: |-
Enables a plugin. The plugin must be installed before it can be enabled,
see [`docker plugin install`](plugin_install.md).
usage: docker plugin enable [OPTIONS] PLUGIN
pname: docker plugin
plink: docker_plugin.yaml
options:
- option: timeout
value_type: int
default_value: "30"
description: HTTP client timeout (in seconds)
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
inherited_options:
- option: help
value_type: bool
default_value: "false"
description: Print usage
deprecated: false
hidden: true
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
examples: |-
The following example shows that the `sample-volume-plugin` plugin is installed,
but disabled:
```console
$ docker plugin ls
ID NAME DESCRIPTION ENABLED
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker false
```
To enable the plugin, use the following command:
```console
$ docker plugin enable tiborvass/sample-volume-plugin
tiborvass/sample-volume-plugin
$ docker plugin ls
ID NAME DESCRIPTION ENABLED
69553ca1d123 tiborvass/sample-volume-plugin:latest A test plugin for Docker true
```
deprecated: false
min_api_version: "1.25"
experimental: false
experimentalcli: false
kubernetes: false
swarm: false