mirror of
https://github.com/rancher/os.git
synced 2025-09-15 22:49:08 +00:00
Wait for userdocker to start
This commit is contained in:
@@ -129,6 +129,7 @@ func NewConfig() *Config {
|
||||
"/init:/usr/bin/rancherctl:ro",
|
||||
"/init:/usr/bin/respawn:ro",
|
||||
"/init:/usr/bin/system-docker:ro",
|
||||
"/init:/usr/sbin/wait-for-docker:ro",
|
||||
"/lib/modules:/lib/modules:ro",
|
||||
"/usr/bin/docker:/usr/bin/docker:ro",
|
||||
},
|
||||
@@ -255,6 +256,15 @@ func NewConfig() *Config {
|
||||
Links: []string{
|
||||
"network",
|
||||
},
|
||||
"userdockerwait": {
|
||||
Image: "userdockerwait",
|
||||
Net: "host",
|
||||
Labels: []string{
|
||||
"io.rancher.os.detach=false",
|
||||
},
|
||||
Links: []string{
|
||||
"userdocker",
|
||||
},
|
||||
VolumesFrom: []string{
|
||||
"all-volumes",
|
||||
},
|
||||
|
Reference in New Issue
Block a user