diff --git a/gns3server/modules/docker/docker_vm.py b/gns3server/modules/docker/docker_vm.py index 85d74cf9..56768197 100644 --- a/gns3server/modules/docker/docker_vm.py +++ b/gns3server/modules/docker/docker_vm.py @@ -179,8 +179,8 @@ class DockerVM(BaseVM): """ path = os.path.join(self.working_dir, "etc", "network") os.makedirs(path, exist_ok=True) - os.makedirs(os.path.join(path, "if-up.d")) - os.makedirs(os.path.join(path, "if-down.d")) + os.makedirs(os.path.join(path, "if-up.d"), exist_ok=True) + os.makedirs(os.path.join(path, "if-down.d"), exist_ok=True) if not os.path.exists(os.path.join(path, "interfaces")): with open(os.path.join(path, "interfaces"), "w+") as f: