1
0
mirror of https://github.com/docker/cli.git synced 2026-01-19 21:41:31 +03:00

support settings in docker plugins install

Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: d1ed73508a
Component: cli
This commit is contained in:
Victor Vieux
2016-11-07 17:43:11 -08:00
committed by Tibor Vass
parent 6336325257
commit f2bafbb576
2 changed files with 7 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ advisory: "experimental"
# plugin install (experimental)
```markdown
Usage: docker plugin install [OPTIONS] PLUGIN
Usage: docker plugin install [OPTIONS] PLUGIN [KEY=VALUE...]
Install a plugin
@@ -33,12 +33,13 @@ the registry. Note that the minimum required registry version to distribute
plugins is 2.3.0
The following example installs `no-remove` plugin. Install consists of pulling the
plugin from Docker Hub, prompting the user to accept the list of privileges that
the plugin needs and enabling the plugin.
The following example installs `no-remove` plugin and [set](plugin_set.md) it's env variable
`DEBUG` to 1. Install consists of pulling the plugin from Docker Hub, prompting
the user to accept the list of privileges that the plugin needs, settings parameters
and enabling the plugin.
```bash
$ docker plugin install tiborvass/no-remove
$ docker plugin install tiborvass/no-remove DEBUG=1
Plugin "tiborvass/no-remove" is requesting the following privileges:
- network: [host]

View File

@@ -17,7 +17,7 @@ advisory: "experimental"
# plugin set (experimental)
```markdown
Usage: docker plugin set PLUGIN key1=value1 [key2=value2...]
Usage: docker plugin set PLUGIN KEY=VALUE [KEY=VALUE...]
Change settings for a plugin