kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch18/setup/windows-setup.ps1

9 lines
349 B
PowerShell
Raw Normal View History

$DOCKER_VERSION="19.03.5"
# install Docker:
Install-WindowsFeature -Name Containers
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force -RequiredVersion $DOCKER_VERSION
Restart-Computer -Force