From 8f6d25cc2ba13f7386f84e855a4489af54d17d61 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Fri, 16 Dec 2016 16:19:23 +0100 Subject: [PATCH] Fix start all create error if a docker container is already running Fix #839 --- gns3server/compute/docker/docker_vm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gns3server/compute/docker/docker_vm.py b/gns3server/compute/docker/docker_vm.py index e5e4c8eb..8100344f 100644 --- a/gns3server/compute/docker/docker_vm.py +++ b/gns3server/compute/docker/docker_vm.py @@ -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()