Skip to content

Instantly share code, notes, and snippets.

@frjaraur
Forked from TerribleDev/setup-win10docker.ps1
Created April 23, 2018 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frjaraur/5ce9c99145266b060978a49ed08931cc to your computer and use it in GitHub Desktop.
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
# 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