Windows-Server-2019-Docker

Configure Windows Features

Install-WindowsFeature -Name Containers

Uninstall-WindowsFeature Windows-Defender

Restart-Computer -Force

Install Windows Updates

Install Docker on Window Server 2019

Install-Module -Name DockerMsftProvider -Repository PSGallery -Force

Install-Package -Name docker -ProviderName DockerMsftProvider -Force -RequiredVersion 19.03

Start-Service docker

Pull the .NET Core Images

docker pull mcr.microsoft.com/dotnet/core/samples:aspnetapp

docker run -it --rm -p 8000:80 --name aspnetcore_sample mcr.microsoft.com/dotnet/core/samples:aspnetapp