Skip to content

Instantly share code, notes, and snippets.

@juliostanley
Last active December 8, 2019 13:40
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 juliostanley/02295e76998f2365696ede4021dc0cb6 to your computer and use it in GitHub Desktop.
Save juliostanley/02295e76998f2365696ede4021dc0cb6 to your computer and use it in GitHub Desktop.
Installations
#!/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