mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-26 00:38:10 +00:00
Fix start all create error if a docker container is already running
Fix #839
This commit is contained in:
parent
3259ec1220
commit
8f6d25cc2b
@ -344,6 +344,8 @@ class DockerVM(BaseNode):
|
|||||||
state = yield from self._get_container_state()
|
state = yield from self._get_container_state()
|
||||||
if state == "paused":
|
if state == "paused":
|
||||||
yield from self.unpause()
|
yield from self.unpause()
|
||||||
|
elif state == "running":
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
yield from self._clean_servers()
|
yield from self._clean_servers()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user