Closed ghost closed 8 years ago
Commit https://github.com/GNS3/gns3-gui/commit/b6fa4f3242dcfc05f855d5701979f8237dacb982 seems to be the reason. This fixes it for me. Just made some basic tests.
diff --git a/gns3/modules/docker/docker_vm.py b/gns3/modules/docker/docker_vm.py
index abfe642..03be0f9 100644
--- a/gns3/modules/docker/docker_vm.py
+++ b/gns3/modules/docker/docker_vm.py
@@ -207,14 +207,14 @@ class DockerVM(VM):
# add the properties
for name, value in self._settings.items():
if value is not None and value != "":
- container["properties"][name] = value
+ docker["properties"][name] = value
# add the ports
if self._ports:
- ports = container["ports"] = []
+ ports = docker["ports"] = []
for port in self._ports:
ports.append(port.dump())
- return container
+ return docker
def info(self):
"""Returns information about this Docker container.
Thanks it's fixed
GNS3 version 1.5.0dev1 on Linux (64-bit) with Python 3.4.2 Qt 5.3.2.
When I try to save a newly created topology containing just a docker VM and a dynamips router, I get the following exception: