github.com/webwurst/docker@v1.7.0/daemon/config_windows.go (about) 1 package daemon 2 3 import ( 4 "os" 5 ) 6 7 var ( 8 defaultPidFile = os.Getenv("programdata") + string(os.PathSeparator) + "docker.pid" 9 defaultGraph = os.Getenv("programdata") + string(os.PathSeparator) + "docker" 10 defaultExec = "windows" 11 ) 12 13 // Config defines the configuration of a docker daemon. 14 // These are the configuration settings that you pass 15 // to the docker daemon when you launch it with say: `docker -d -e windows` 16 type Config struct { 17 CommonConfig 18 19 // Fields below here are platform specific. (There are none presently 20 // for the Windows daemon.) 21 } 22 23 // InstallFlags adds command-line options to the top-level flag parser for 24 // the current process. 25 // Subsequent calls to `flag.Parse` will populate config with values parsed 26 // from the command-line. 27 func (config *Config) InstallFlags() { 28 // First handle install flags which are consistent cross-platform 29 config.InstallCommonFlags() 30 31 // Then platform-specific install flags. There are none presently on Windows 32 33 }