diff --git a/docs/reference/commandline/plugin_disable.md b/docs/reference/commandline/plugin_disable.md index b08509363a..580d4b93d0 100644 --- a/docs/reference/commandline/plugin_disable.md +++ b/docs/reference/commandline/plugin_disable.md @@ -59,3 +59,4 @@ tiborvass/no-remove latest A test plugin for Docker false * [plugin inspect](plugin_inspect.md) * [plugin install](plugin_install.md) * [plugin rm](plugin_rm.md) +* [plugin set](plugin_set.md) diff --git a/docs/reference/commandline/plugin_enable.md b/docs/reference/commandline/plugin_enable.md index f9635d9cec..edb2e0bf1f 100644 --- a/docs/reference/commandline/plugin_enable.md +++ b/docs/reference/commandline/plugin_enable.md @@ -59,3 +59,4 @@ tiborvass/no-remove latest A test plugin for Docker true * [plugin inspect](plugin_inspect.md) * [plugin install](plugin_install.md) * [plugin rm](plugin_rm.md) +* [plugin set](plugin_set.md) diff --git a/docs/reference/commandline/plugin_inspect.md b/docs/reference/commandline/plugin_inspect.md index 5aea7cce40..3fa55405a1 100755 --- a/docs/reference/commandline/plugin_inspect.md +++ b/docs/reference/commandline/plugin_inspect.md @@ -159,3 +159,4 @@ $ docker plugin inspect -f '{{.Id}}' tiborvass/no-remove:latest * [plugin disable](plugin_disable.md) * [plugin install](plugin_install.md) * [plugin rm](plugin_rm.md) +* [plugin set](plugin_set.md) diff --git a/docs/reference/commandline/plugin_install.md b/docs/reference/commandline/plugin_install.md index ce0ac17dff..524b4d8d5c 100644 --- a/docs/reference/commandline/plugin_install.md +++ b/docs/reference/commandline/plugin_install.md @@ -64,3 +64,4 @@ tiborvass/no-remove latest A test plugin for Docker true * [plugin disable](plugin_disable.md) * [plugin inspect](plugin_inspect.md) * [plugin rm](plugin_rm.md) +* [plugin set](plugin_set.md) diff --git a/docs/reference/commandline/plugin_ls.md b/docs/reference/commandline/plugin_ls.md index baa0db7a53..12de328142 100644 --- a/docs/reference/commandline/plugin_ls.md +++ b/docs/reference/commandline/plugin_ls.md @@ -48,3 +48,4 @@ tiborvass/no-remove latest A test plugin for Docker true * [plugin inspect](plugin_inspect.md) * [plugin install](plugin_install.md) * [plugin rm](plugin_rm.md) +* [plugin set](plugin_set.md) diff --git a/docs/reference/commandline/plugin_rm.md b/docs/reference/commandline/plugin_rm.md index 57dbfc9af1..4a86bc5c2b 100644 --- a/docs/reference/commandline/plugin_rm.md +++ b/docs/reference/commandline/plugin_rm.md @@ -51,3 +51,4 @@ tiborvass/no-remove * [plugin disable](plugin_disable.md) * [plugin inspect](plugin_inspect.md) * [plugin install](plugin_install.md) +* [plugin set](plugin_set.md) diff --git a/docs/reference/commandline/plugin_set.md b/docs/reference/commandline/plugin_set.md new file mode 100644 index 0000000000..8c9eb74e1c --- /dev/null +++ b/docs/reference/commandline/plugin_set.md @@ -0,0 +1,51 @@ +--- +title: "plugin set" +description: "the plugin set command description and usage" +keywords: "plugin, set" +advisory: "experimental" +--- + + + +# plugin set (experimental) + +```markdown +Usage: docker plugin set PLUGIN key1=value1 [key2=value2...] + +Change settings for a plugin + +Options: + --help Print usage +``` + +Change settings for a plugin. The plugin must be disabled. + + +The following example installs change the env variable `DEBUG` of the +`no-remove` plugin. + +```bash +$ docker plugin inspect -f {{.Config.Env}} tiborvass/no-remove +[DEBUG=0] + +$ docker plugin set DEBUG=1 tiborvass/no-remove + +$ docker plugin inspect -f {{.Config.Env}} tiborvass/no-remove +[DEBUG=1] +``` + +## Related information + +* [plugin ls](plugin_ls.md) +* [plugin enable](plugin_enable.md) +* [plugin disable](plugin_disable.md) +* [plugin inspect](plugin_inspect.md) +* [plugin install](plugin_install.md) +* [plugin rm](plugin_rm.md)