From 2191c487b6eb7f4c65a423511e5cac4e785de3f1 Mon Sep 17 00:00:00 2001 From: Bernhard Ehlers Date: Fri, 19 May 2017 13:28:32 +0200 Subject: [PATCH] Support images created by "docker commit". Fixes #1039 --- gns3server/compute/docker/docker_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/docker/docker_vm.py b/gns3server/compute/docker/docker_vm.py index 00e9a72a..bc88fc8b 100644 --- a/gns3server/compute/docker/docker_vm.py +++ b/gns3server/compute/docker/docker_vm.py @@ -213,7 +213,7 @@ class DockerVM(BaseNode): self._volumes = ["/etc/network"] - volumes = image_infos.get("ContainerConfig", {}).get("Volumes") + volumes = image_infos.get("Config", {}).get("Volumes") if volumes is None: return binds for volume in volumes.keys():