Skip to content

Instantly share code, notes, and snippets.

@craigminihan
Last active July 10, 2018 13:20
Show Gist options
  • Save craigminihan/cb97b2d855e1cd7b50b32c9eabb38779 to your computer and use it in GitHub Desktop.
Save craigminihan/cb97b2d855e1cd7b50b32c9eabb38779 to your computer and use it in GitHub Desktop.
Windows 2016 Docker Install

Update Windows

Windows 2016 must be updated to the latest version to ensure containers work as expected.

Install Docker

Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module DockerMsftProvider -Force
Install-Package Docker -ProviderName DockerMsftProvider -Force
Add-MpPreference -ExclusionPath C:\ProgramData\docker\volumes\

From: https://docs.docker.com/install/windows/docker-ee/

Install Docker Compose

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-WebRequest "https://github.com/docker/compose/releases/download/1.21.2/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\docker\docker-compose.exe

From: https://docs.docker.com/compose/install/#install-compose

Enable Disk Performance Counters

diskperf -Y

Install Git

https://git-scm.com/download/win

Install Notepad++

https://notepad-plus-plus.org/download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment