Use Docker API v1.24 to get version.

pull/2355/head
grossmj 3 months ago
parent 16f72b4d3d
commit 1f5085608c
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD

@ -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:

Loading…
Cancel
Save