Set state running before dumping to disk

Fixes #4766
Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)
Merge pull request #6954 from LK4D4/fix_container_run_after_restart_#4766

Set state running before dumping to disk