mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-15 12:59:06 +00:00
parent
a7be4681d5
commit
f0edf799b7
@ -530,7 +530,11 @@ class DockerVM(BaseVM):
|
||||
if self._ubridge_hypervisor and self._ubridge_hypervisor.is_running():
|
||||
yield from self._ubridge_hypervisor.stop()
|
||||
|
||||
state = yield from self._get_container_state()
|
||||
try:
|
||||
state = yield from self._get_container_state()
|
||||
except DockerHttp404Error:
|
||||
state = "stopped"
|
||||
|
||||
if state == "paused":
|
||||
yield from self.unpause()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user