daemonconfig

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

README

This directory contains code pertaining to the configuration of the docker deamon

These are the configuration settings that you pass to the docker daemon when you launch it with say: docker -d -e lxc

Documentation

Index

Constants

View Source
const (
	DisableNetworkBridge = "none"
)

Variables

This section is empty.

Functions

func GetDefaultNetworkMtu

func GetDefaultNetworkMtu() int

Types

type Config

type Config struct {
	Pidfile                     string
	Root                        string
	AutoRestart                 bool
	Dns                         []string
	DnsSearch                   []string
	EnableIptables              bool
	EnableIpForward             bool
	DefaultIp                   net.IP
	BridgeIface                 string
	BridgeIP                    string
	InterContainerCommunication bool
	GraphDriver                 string
	GraphOptions                []string
	ExecDriver                  string
	Mtu                         int
	DisableNetwork              bool
	EnableSelinuxSupport        bool
	Context                     map[string][]string
}

FIXME: separate runtime configuration from http api configuration

func ConfigFromJob

func ConfigFromJob(job *engine.Job) *Config

ConfigFromJob creates and returns a new DaemonConfig object by parsing the contents of a job's environment.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL