MCPcopy Create free account
hub / github.com/docker/go-plugins-helpers / WindowsDefaultDaemonRootDir

Function WindowsDefaultDaemonRootDir

sdk/spec_file_generator.go:22–24  ·  view source on GitHub ↗

WindowsDefaultDaemonRootDir returns default data directory of docker daemon on Windows.

()

Source from the content-addressed store, hash-verified

20
21// WindowsDefaultDaemonRootDir returns default data directory of docker daemon on Windows.
22func WindowsDefaultDaemonRootDir() string {
23 return filepath.Join(os.Getenv("programdata"), "docker")
24}
25
26func createPluginSpecDirWindows(name, address, daemonRoot string) (string, error) {
27 _, err := os.Stat(daemonRoot)

Callers

nothing calls this directly

Calls 1

JoinMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…