1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/reference/commandline/plugin_set.md
Victor Vieux efbed4500e support env for docker plugin set
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-11-07 16:59:29 -08:00

1.3 KiB

title description keywords advisory
plugin set the plugin set command description and usage plugin, set experimental

plugin set (experimental)

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.

$ 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]