зеркало из https://github.com/microsoft/docker.git
Merge pull request #25903 from anusha-ragunathan/windows_plugin_spec
Add spec file support for Windows plugin discovery.
This commit is contained in:
Коммит
8c5c2842ba
|
@ -16,7 +16,6 @@ var (
|
|||
// ErrNotFound plugin not found
|
||||
ErrNotFound = errors.New("plugin not found")
|
||||
socketsPath = "/run/docker/plugins"
|
||||
specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"}
|
||||
)
|
||||
|
||||
// localRegistry defines a registry that is local (using unix socket).
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
package plugins
|
||||
|
||||
var specsPaths = []string{"/etc/docker/plugins", "/usr/lib/docker/plugins"}
|
|
@ -0,0 +1,8 @@
|
|||
package plugins
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
var specPaths = []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")}
|
Загрузка…
Ссылка в новой задаче