1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Support images created by "docker commit". Fixes #1039

This commit is contained in:
Bernhard Ehlers 2017-05-19 13:28:32 +02:00 committed by Julien Duponchelle
parent 3ed49bbdd5
commit 2191c487b6
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -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():