Do not error when trying to start a started container

Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net> (github: creack)
Upstream-commit: a03f83e3370f3859ebff172d504cc29817863b17
Component: engine
This commit is contained in:
Guillaume J. Charmes
2014-04-01 10:26:53 -07:00
parent 1b87e1127a
commit e4f0a4813f
+1 -1
View File
@@ -426,7 +426,7 @@ func (container *Container) Start() (err error) {
defer container.Unlock()
if container.State.IsRunning() {
return fmt.Errorf("The container %s is already running.", container.ID)
return nil
}
defer func() {