Ad space (banner)
AD

Got the fundamentals? A structured Docker course is a fast way to level up.

Find Docker courses on Udemy

Affiliate link. Costs you nothing extra.

🐳Docker Lessons
Lesson 3 / 45

Checking the Version with docker --version

When you want to confirm Docker is installed and see which version you have, use docker --version. It is the simplest command there is, and the natural first thing to run.

The syntax is docker --version. If the command isn't found, Docker either isn't installed or isn't on your PATH.

Running docker --version prints something like Docker version 24.0.7, build afdd53b — the version number and the build identifier.

A common stumble is a Docker Desktop installation where the app itself has not been started: the command exists, but later commands fail with "cannot connect to the Docker daemon."

In real work, this is the first thing to check when reporting a problem or verifying that an environment matches what a project expects.

Docker
Try it (type this into the pseudo terminal)
docker --version

🧑‍💻 You can type this command into the Docker pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)