From 836023a1bc60a984f183cb5122d88e93fc7989c5 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 16 Feb 2016 17:42:35 +0100 Subject: [PATCH] Fix Docker error when deleting a running container Fix #431 --- gns3server/modules/docker/docker_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/modules/docker/docker_vm.py b/gns3server/modules/docker/docker_vm.py index a32e62ec..93d16e1b 100644 --- a/gns3server/modules/docker/docker_vm.py +++ b/gns3server/modules/docker/docker_vm.py @@ -452,7 +452,7 @@ class DockerVM(BaseVM): name=adapter_number)) adapter = self._ethernet_adapters[adapter_number] - yield from self._ubridge_hypervisor.send('docker delete_veth {hostif} {guestif}'.format(guestif=adapter.guest_ifc, hostif=adapter.host_ifc)) + yield from self._ubridge_hypervisor.send('docker delete_veth {hostif}'.format(hostif=adapter.host_ifc)) @asyncio.coroutine def _get_namespace(self):