docker plugin set (original) (raw)

Description Change settings for a plugin
Usage docker plugin set PLUGIN KEY=VALUE [KEY=VALUE...]

Change settings for a plugin. The plugin must be disabled.

The settings currently supported are:

Change an environment variable

The following example change the env variable DEBUG on thesample-volume-plugin plugin.

Change the source of a mount

The following example change the source of the mymount mount on the myplugin plugin.

Note

Since only source is settable in mymount,docker plugins set mymount=/bar myplugin would work too.

Change a device path

The following example change the path of the mydevice device on the myplugin plugin.

Note

Since only path is settable in mydevice,docker plugins set mydevice=/dev/bar myplugin would work too.

Change the source of the arguments

The following example change the value of the args on the myplugin plugin.