github.com/lazyboychen7/engine@v17.12.1-ce-rc2+incompatible/daemon/config/config_solaris.go (about) 1 package config 2 3 // Config defines the configuration of a docker daemon. 4 // These are the configuration settings that you pass 5 // to the docker daemon when you launch it with say: `docker -d -e lxc` 6 type Config struct { 7 CommonConfig 8 9 // These fields are common to all unix platforms. 10 CommonUnixConfig 11 } 12 13 // BridgeConfig stores all the bridge driver specific 14 // configuration. 15 type BridgeConfig struct { 16 commonBridgeConfig 17 18 // Fields below here are platform specific. 19 commonUnixBridgeConfig 20 } 21 22 // IsSwarmCompatible defines if swarm mode can be enabled in this config 23 func (conf *Config) IsSwarmCompatible() error { 24 return nil 25 } 26 27 // ValidatePlatformConfig checks if any platform-specific configuration settings are invalid. 28 func (conf *Config) ValidatePlatformConfig() error { 29 return nil 30 }