Last active
December 8, 2019 13:40
-
-
Save juliostanley/02295e76998f2365696ede4021dc0cb6 to your computer and use it in GitHub Desktop.
Installations
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
#!/usr/bin/env pwsh | |
# Docker for Windows | |
$version='edge' | |
$progressPreference='SilentlyContinue'; | |
Invoke-WebRequest "https://download.docker.com/win/$version/Docker%20for%20Windows%20Installer.exe" -OutFile ~/downloads/docker-installer.exe; | |
Invoke-Item ~/downloads/docker-installer.exe; | |
# Enable Hyper-V | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All | |
# Enabling WSL on windows | |
Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform", "Microsoft-Windows-Subsystem-Linux") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment