P.ESAKKI MUTHU
P.ESAKKI MUTHU

Reputation: 153

How to check the Docker Desktop installed version?

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?

Upvotes: 14

Views: 34403

Answers (10)

Alexis Métaireau
Alexis Métaireau

Reputation: 11215

You can get the Docker Desktop version using the following command. This works on Linux, Windows and MacOS:

$ docker version --format '{{.Server.Platform.Name}}'
Docker Desktop 4.19.0 (106363)

Upvotes: 1

camelCase
camelCase

Reputation: 1790

The Docker Desktop version is shown bottom right in the running Docker Desktop application window. This is on Windows 11 as of v4.21.1 of docker desktop.

When the mouse cursor is hovered over the version info text I get an extra tooltip stating "Your application is up-to date".

For more complete version info see the accepted answer by Sebastian Brosch here

Upvotes: 0

greg
greg

Reputation: 342

On Windows 10:

  • Go to Settings -> Apps & Features
  • click on the Docker-App
  • click on "Uninstall" - version-number of Docker Desktop is displayed

Upvotes: 2

Vaal
Vaal

Reputation: 694

It's also visible in the About Docker Desktop box that can be found via right clicking the whale in the system tray and select "About Docker Desktop" menu item

Upvotes: 7

Gary Browne
Gary Browne

Reputation: 77

On Mac, I had an issue where the Docker Desktop -> About dialogue box would just not show up. I found that the Docker Desktop version is also displayed under Preferences -> Software updates. I presume something similar can be found in the Windows version.

enter image description here

Upvotes: 0

milpataki
milpataki

Reputation: 601

Windows settings -> Apps -> Select the Docker Desktop

it will show you the program version

Upvotes: 0

Marco
Marco

Reputation: 23945

Just in case the link in the answer dies, here's the one liner from the Docker forums to get the version in Powershell:

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | select DisplayName,DisplayVersion | where {$_.DisplayName -like "Docker*"}

This will result in an output similar to this:

DisplayName    DisplayVersion
-----------    --------------
Docker Desktop 3.2.2

Or, if you just want the version string:

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | where {$_.DisplayName -like "Docker*"} | select -ExpandProperty DisplayVersion

Output:

3.2.2

Upvotes: 2

Tom
Tom

Reputation: 64

check under Apps & Features in windows. type docker and click on it.

Upvotes: 3

Csongor Halmai
Csongor Halmai

Reputation: 3895

On windows, you can check this registry entry:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Docker Desktop

But probably a lot easier if you right click on the windows icon in the lower left corner, pick Apps and Features and click Docker Desktop in the list on the right hand side of the new window. You will see a version number like 2.2.0.3 or similar. This is the version of Docker Desktop.

The other two version numbers that the docker version command prints for you, they are the version number of the Docker Engine Server and Docker Engine Client.

Upvotes: 15

Sebastian Brosch
Sebastian Brosch

Reputation: 43594

You have two version numbers:

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:

Upvotes: 11

Related Questions