Commit a097d561 authored by duanjinfei's avatar duanjinfei

update start container err

parent c53bb735
......@@ -137,6 +137,7 @@ func (d *DockerOp) CreateAndStartContainer(imageName string, dockerCmd *models.D
startContainerIsSuccess := d.StartContainer(containerId)
if !startContainerIsSuccess {
log.Error("start container failed:", startContainerIsSuccess)
return "", fmt.Errorf("start container failed")
}
//ctx, cancel := context.WithTimeout(context.Background(), time.Second*60)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment