-
-
Save frjaraur/5ce9c99145266b060978a49ed08931cc to your computer and use it in GitHub Desktop.
install hyper-v, containers, and beta docker on windows so you can use windows containers
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
# allow scripts to run | |
set-executionpolicy unrestricted -Force | |
Get-WindowsOptionalFeature -Online | where {$_.FeatureName -like "*Hyper*" -or $_.FeatureName -like "containers" } | Enable-WindowsOptionalFeature -Online -NoRestart | |
(new-object net.webclient).DownloadFile('https://download.docker.com/win/beta/InstallDocker.msi','docker.msi') | |
Start-Process 'docker.msi' /qn -Wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment