Keep pause state when restoring container's status
Do not change pause state when restoring container's
status, or status in docker will be different with
status in runc.
@@ -278,7 +278,9 @@ func (s *State) SetRunning(pid int, initial bool) {
s.ErrorMsg = ""
s.Running = true
s.Restarting = false
+ if initial {
s.Paused = false
+ }
s.ExitCodeValue = 0
s.Pid = pid
if initial {
