Add wait time when container was in starting phase
This commit is contained in:
parent
0bc10b7154
commit
3d559fc94d
1 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,9 @@ func (p *Processor) waitForApp() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if status.Status == "running" {
|
if status.Status == "running" {
|
||||||
|
if i > 0 {
|
||||||
|
time.Sleep(sleepFor) // We wait a little bit more to make sure the container is fully started
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue