Merge pull request #2993 from berlic/devel
Fix docker container restart
This commit is contained in:
commit
5129ef5590
1 changed files with 2 additions and 0 deletions
|
@ -1765,6 +1765,8 @@ def restarted(manager, containers, count, name):
|
||||||
manager.stop_containers([container])
|
manager.stop_containers([container])
|
||||||
manager.remove_containers([container])
|
manager.remove_containers([container])
|
||||||
|
|
||||||
|
containers.refresh()
|
||||||
|
|
||||||
manager.restart_containers(containers.running)
|
manager.restart_containers(containers.running)
|
||||||
started(manager, containers, count, name)
|
started(manager, containers, count, name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue