Answer a question

I'm having Docker Desktop on my Windows PC. While checking the version of the docker in the registry it shows the version as 2.1.0.5. But when I running the below command in the Windows CMD, it returns the version as 19.03.5.

Which one is the correct version and why it's showing two different versions for a single application?

Answers

You have two version numbers:

  • Docker Desktop for Windows (Release Notes)
  • Docker Engine (Release Notes)

You can get the version number of Docker Engine with docker version command:

docker version

To get the Docker Desktop for Windows version number you have to look at the registry. Also have a look at this thread on the Docker forum to get this value: https://forums.docker.com/t/how-to-check-docker-version/76677.

You are using the following versions:

  • Docker Desktop for Windows 2.1.0.5
  • Docker Engine 19.03.5
Logo

云原生社区为您提供最前沿的新闻资讯和知识内容

更多推荐