Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Query the registry for necessary build information
- $winver = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\'
- $versiontag = "$($winver.CurrentMajorVersionNumber).$($winver.CurrentMinorVersionNumber).$($winver.CurrentBuildNumber).$($winver.UBR)"
- # Run the actual docker pull command to download the insider image matching the host OS
- docker pull mcr.microsoft.com/windows-insider:$versiontag
Add Comment
Please, Sign In to add comment