Files
docker-cli/components/engine/docs/reference/commandline/plugin_set.md
Victor Vieux a773a75547 support env for docker plugin set
Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: efbed4500e30ff1a0eef4ff71fd46a58363d041b
Component: engine
2016-11-07 16:59:29 -08:00

1.3 KiB

title, description, keywords, advisory
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]