4 "github.com/docker/docker/api/types"
7 // BridgeConfig stores all the bridge driver specific
9 type BridgeConfig struct {
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: `dockerd -e windows`
19 // Fields below here are platform specific. (There are none presently
20 // for the Windows daemon.)
23 // GetRuntime returns the runtime path and arguments for a given
25 func (conf *Config) GetRuntime(name string) *types.Runtime {
29 // GetInitPath returns the configure docker-init path
30 func (conf *Config) GetInitPath() string {
34 // GetDefaultRuntimeName returns the current default runtime
35 func (conf *Config) GetDefaultRuntimeName() string {
36 return StockRuntimeName
39 // GetAllRuntimes returns a copy of the runtimes map
40 func (conf *Config) GetAllRuntimes() map[string]types.Runtime {
41 return map[string]types.Runtime{}
44 // GetExecRoot returns the user configured Exec-root
45 func (conf *Config) GetExecRoot() string {
49 // IsSwarmCompatible defines if swarm mode can be enabled in this config
50 func (conf *Config) IsSwarmCompatible() error {