Docker Community Forums

Share and learn in the Docker community.

How to check docker version

How to check the version of Docker for Desktop not the docker daemon?
The command “docker version” gives us the answer of docker daemon version, but we want to get the version of Docker for Docker Desktop.

Thank you for your help in advance!

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

Thank you! Do you have any idea how to check the same on Mac? I tried “docker version” in terminal on Mac and it shows the docker daemon version instead.
Thank you in advance!

Sorry, I can’t help you with macOS.

No problem.
Thanks still!

Docker Desktop for Mac

$ defaults read /Applications/ CFBundleShortVersionString

Docker Desktop for Windows

$ powershell.exe 'Get-ItemPropertyValue "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Docker Desktop" DisplayVersion'