docker system info --format '{{.ServerVersion}}'

Category: Docker

docker system info --format '{{.ServerVersion}}'

Show the Docker server version

Prints one field of the daemon's info payload, here the server version, handy for scripts that gate on engine features. Default output is a long human report. The full JSON is available with --format '{{json .}}'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.