diff --git a/container/state.go b/container/state.go index b87577b1c0..4ded406411 100644 --- a/container/state.go +++ b/container/state.go @@ -278,6 +278,7 @@ func (s *State) SetRunning(pid int, initial bool) { s.ErrorMsg = "" s.Running = true s.Restarting = false + s.Paused = false s.ExitCodeValue = 0 s.Pid = pid if initial { @@ -304,6 +305,7 @@ func (s *State) SetRestarting(exitStatus *ExitStatus) { // all the checks in docker around rm/stop/etc s.Running = true s.Restarting = true + s.Paused = false s.Pid = 0 s.FinishedAt = time.Now().UTC() s.setFromExitStatus(exitStatus)