mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-13 20:08:55 +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()
|
||||
if state == "paused":
|
||||
yield from self.unpause()
|
||||
elif state == "running":
|
||||
return
|
||||
else:
|
||||
yield from self._clean_servers()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user