From 1f5085608ccc8a5494c1b6488f68652ba4f46d99 Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 14 Feb 2024 15:40:19 +0800 Subject: [PATCH] Use Docker API v1.24 to get version. --- 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 cc82daf9..7e0cd195 100644 --- a/gns3server/compute/docker/__init__.py +++ b/gns3server/compute/docker/__init__.py @@ -135,7 +135,7 @@ class Docker(BaseManager): timeout = 60 * 60 * 24 * 31 # One month timeout if path == 'version': - url = "http://docker/v1.12/" + path # API of docker v1.0 + url = "http://docker/v1.24/" + path else: url = "http://docker/v" + DOCKER_MINIMUM_API_VERSION + "/" + path try: