1
0
mirror of https://github.com/rancher/os.git synced 2025-09-13 21:51:33 +00:00

Add networking to system docker

This commit is contained in:
Darren Shepherd
2015-04-03 14:59:24 -07:00
parent 74c18eb4ed
commit af272e92ca
7 changed files with 104 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ func NewConfig() *Config {
Dev: "LABEL=RANCHER_STATE",
FsType: "auto",
},
SystemDocker: DockerConfig{
BootstrapDocker: DockerConfig{
Args: []string{
"docker",
"-d",
@@ -25,6 +25,22 @@ func NewConfig() *Config {
"-H", DOCKER_SYSTEM_HOST,
},
},
SystemDocker: DockerConfig{
Args: []string{
"docker",
"-d",
"-s",
"overlay",
"-b",
"docker-sys",
"--fixed-cidr",
"172.18.42.1/16",
"--restart=false",
"-g", "/var/lib/system-docker",
"-G", "root",
"-H", DOCKER_SYSTEM_HOST,
},
},
Modules: []string{},
UserDocker: DockerConfig{
TLSArgs: []string{