Last active
June 4, 2021 04:56
-
-
Save guitarrapc/80eeeb46e4ebd353029db8569bd03fe8 to your computer and use it in GitHub Desktop.
get Docker Desktop for Windows version from cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for /f "usebackq tokens=3*" %%A in (`reg query "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Docker Desktop" /V DisplayVersion`) do set DOCKER_DESKTOP_VERSION=%%A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | select DisplayName,DisplayVersion | where {$_.DisplayName -like "Docker*"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment