How to get the Docker version using the Remote API -
is possible docker service version using remote api, is, similar passing version parameter command line client?
docker --version
yes; it's the /version
endpoint.
from docs:
example request:
get /version http/1.1
example response:
http/1.1 200 ok content-type: application/json { "version": "1.5.0", "os": "linux", "kernelversion": "3.18.5-tinycore64", "goversion": "go1.4.1", "gitcommit": "a8a31ef", "arch": "amd64", "apiversion": "1.20", "experimental": false }
Comments
Post a Comment