mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Support images created by "docker commit". Fixes #1039
This commit is contained in:
parent
3ed49bbdd5
commit
2191c487b6
@ -213,7 +213,7 @@ class DockerVM(BaseNode):
|
|||||||
|
|
||||||
self._volumes = ["/etc/network"]
|
self._volumes = ["/etc/network"]
|
||||||
|
|
||||||
volumes = image_infos.get("ContainerConfig", {}).get("Volumes")
|
volumes = image_infos.get("Config", {}).get("Volumes")
|
||||||
if volumes is None:
|
if volumes is None:
|
||||||
return binds
|
return binds
|
||||||
for volume in volumes.keys():
|
for volume in volumes.keys():
|
||||||
|
Loading…
Reference in New Issue
Block a user