From 1b0f5c63b803699e24d0db285e08cb0e1884f30d Mon Sep 17 00:00:00 2001 From: Bernhard Ehlers Date: Fri, 28 Apr 2017 16:02:57 +0200 Subject: [PATCH] Fix connection to websocket with last docker release Fix https://github.com/GNS3/gns3-gui/issues/1994 Signed-off-by: Julien Duponchelle --- gns3server/compute/docker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/docker/__init__.py b/gns3server/compute/docker/__init__.py index 53b4a7af..7b3e4d96 100644 --- a/gns3server/compute/docker/__init__.py +++ b/gns3server/compute/docker/__init__.py @@ -161,7 +161,7 @@ class Docker(BaseManager): :returns: Websocket """ - url = "http://docker/" + path + url = "http://docker/v" + DOCKER_MINIMUM_API_VERSION + "/" + path connection = yield from aiohttp.ws_connect(url, connector=self.connector(), origin="http://docker",