mirror of https://github.com/docker/cli.git
Search Windows CLI plugins also in ProgramFiles
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
This commit is contained in:
parent
6d59892b66
commit
4d3a76d71e
|
@ -7,4 +7,5 @@ import (
|
||||||
|
|
||||||
var defaultSystemPluginDirs = []string{
|
var defaultSystemPluginDirs = []string{
|
||||||
filepath.Join(os.Getenv("ProgramData"), "Docker", "cli-plugins"),
|
filepath.Join(os.Getenv("ProgramData"), "Docker", "cli-plugins"),
|
||||||
|
filepath.Join(os.Getenv("ProgramFiles"), "Docker", "cli-plugins"),
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,7 +111,8 @@ the `/usr/local/lib` or `/usr/local/libexec` equivalents but packages
|
||||||
should not do so.
|
should not do so.
|
||||||
|
|
||||||
Plugins distributed on Windows for system wide installation should be
|
Plugins distributed on Windows for system wide installation should be
|
||||||
installed in `%PROGRAMDATA%\Docker\cli-plugins`.
|
installed in either `%ProgramData%\Docker\cli-plugins` or
|
||||||
|
`%ProgramFiles%\Docker\cli-plugins`.
|
||||||
|
|
||||||
User's may on all systems install plugins into `~/.docker/cli-plugins`.
|
User's may on all systems install plugins into `~/.docker/cli-plugins`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue