From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- ...ference%2Fcommandline%2Fplugin_set%2Findex.html | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 devdocs/docker/engine%2Freference%2Fcommandline%2Fplugin_set%2Findex.html (limited to 'devdocs/docker/engine%2Freference%2Fcommandline%2Fplugin_set%2Findex.html') diff --git a/devdocs/docker/engine%2Freference%2Fcommandline%2Fplugin_set%2Findex.html b/devdocs/docker/engine%2Freference%2Fcommandline%2Fplugin_set%2Findex.html deleted file mode 100644 index 0476182a..00000000 --- a/devdocs/docker/engine%2Freference%2Fcommandline%2Fplugin_set%2Findex.html +++ /dev/null @@ -1,39 +0,0 @@ -

docker plugin set


Change settings for a plugin

Usage

$ docker plugin set PLUGIN KEY=VALUE [KEY=VALUE...]
-

Description

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

The settings currently supported are:

For example uses of this command, refer to the examples section below.

Examples

Change an environment variable

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

$ docker plugin inspect -f {{.Settings.Env}} tiborvass/sample-volume-plugin
-[DEBUG=0]
-
-$ docker plugin set tiborvass/sample-volume-plugin DEBUG=1
-
-$ docker plugin inspect -f {{.Settings.Env}} tiborvass/sample-volume-plugin
-[DEBUG=1]
-

Change the source of a mount

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

$ docker plugin inspect -f '{{with $mount := index .Settings.Mounts 0}}{{$mount.Source}}{{end}}' myplugin
-/foo
-
-$ docker plugins set myplugin mymount.source=/bar
-
-$ docker plugin inspect -f '{{with $mount := index .Settings.Mounts 0}}{{$mount.Source}}{{end}}' myplugin
-/bar
-

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.

$ docker plugin inspect -f '{{with $device := index .Settings.Devices 0}}{{$device.Path}}{{end}}' myplugin
-
-/dev/foo
-
-$ docker plugins set myplugin mydevice.path=/dev/bar
-
-$ docker plugin inspect -f '{{with $device := index .Settings.Devices 0}}{{$device.Path}}{{end}}' myplugin
-
-/dev/bar
-

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.

$ docker plugin inspect -f '{{.Settings.Args}}' myplugin
-
-["foo", "bar"]
-
-$ docker plugins set myplugin myargs="foo bar baz"
-
-$ docker plugin inspect -f '{{.Settings.Args}}' myplugin
-
-["foo", "bar", "baz"]
-

Parent command

Command Description
docker plugin Manage plugins
Command Description
docker plugin create Create a plugin from a rootfs and configuration. Plugin data directory must contain config.json and rootfs directory.
docker plugin disable Disable a plugin
docker plugin enable Enable a plugin
docker plugin inspect Display detailed information on one or more plugins
docker plugin install Install a plugin
docker plugin ls List plugins
docker plugin push Push a plugin to a registry
docker plugin rm Remove one or more plugins
docker plugin set Change settings for a plugin
docker plugin upgrade Upgrade an existing plugin
-

- © 2019 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
- https://docs.docker.com/engine/reference/commandline/plugin_set/ -

-
-- cgit v1.2.3