github.com/fabiokung/docker@v0.11.2-0.20170222101415-4534dcd49497/daemon/config/config_solaris.go (about)

     1  package config
     2  
     3  import (
     4  	"github.com/spf13/pflag"
     5  )
     6  
     7  var (
     8  	defaultPidFile = "/system/volatile/docker/docker.pid"
     9  	defaultGraph   = "/var/lib/docker"
    10  	defaultExec    = "zones"
    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 lxc`
    16  type Config struct {
    17  	CommonConfig
    18  
    19  	// These fields are common to all unix platforms.
    20  	CommonUnixConfig
    21  }
    22  
    23  // BridgeConfig stores all the bridge driver specific
    24  // configuration.
    25  type BridgeConfig struct {
    26  	commonBridgeConfig
    27  
    28  	// Fields below here are platform specific.
    29  	commonUnixBridgeConfig
    30  }
    31  
    32  // IsSwarmCompatible defines if swarm mode can be enabled in this config
    33  func (conf *Config) IsSwarmCompatible() error {
    34  	return nil
    35  }