daemon/config_solaris.go
86d8758e
 package daemon
 
 import (
fb833947
 	"github.com/spf13/pflag"
86d8758e
 )
 
 var (
934328d8
 	defaultPidFile = "/system/volatile/docker/docker.pid"
86d8758e
 	defaultGraph   = "/var/lib/docker"
 	defaultExec    = "zones"
 )
 
 // Config defines the configuration of a docker daemon.
 // These are the configuration settings that you pass
 // to the docker daemon when you launch it with say: `docker -d -e lxc`
 type Config struct {
 	CommonConfig
 
934328d8
 	// These fields are common to all unix platforms.
 	CommonUnixConfig
86d8758e
 }
 
 // bridgeConfig stores all the bridge driver specific
 // configuration.
 type bridgeConfig struct {
 	commonBridgeConfig
934328d8
 
 	// Fields below here are platform specific.
 	commonUnixBridgeConfig
86d8758e
 }
 
 // InstallFlags adds command-line options to the top-level flag parser for
 // the current process.
fb833947
 func (config *Config) InstallFlags(flags *pflag.FlagSet) {
86d8758e
 	// First handle install flags which are consistent cross-platform
fb833947
 	config.InstallCommonFlags(flags)
86d8758e
 
934328d8
 	// Then install flags common to unix platforms
 	config.InstallCommonUnixFlags(flags)
 
86d8758e
 	// Then platform-specific install flags
fb833947
 	config.attachExperimentalFlags(flags)
86d8758e
 }
ecffb6d5
 
 func (config *Config) isSwarmCompatible() error {
 	return nil
 }