Guest User

Untitled

a guest
Jul 17th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. # Query the registry for necessary build information
  2. $winver = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\'
  3. $versiontag = "$($winver.CurrentMajorVersionNumber).$($winver.CurrentMinorVersionNumber).$($winver.CurrentBuildNumber).$($winver.UBR)"
  4.  
  5. # Run the actual docker pull command to download the insider image matching the host OS
  6. docker pull mcr.microsoft.com/windows-insider:$versiontag
Add Comment
Please, Sign In to add comment