Prepared
Windows 2019 Evaluation in Hyper-V
creating many VMs consumes a lot of resources.
https://docs.microsoft.com/en-us/virt...
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
*NuGet provider is required to continue
PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet
provider must be available in 'C:\Program Files\PackageManagement\ProviderAssemblies' or
'C:\Users\donghowa\AppData\Local\PackageManagement\ProviderAssemblies'. You can also install the NuGet provider by
running 'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force'. Do you want PowerShellGet to install
and import the NuGet provider now?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
(Install-WindowsFeature Containers).RestartNeeded
Yes
Restart-Computer -Force
docker version
docker pull mcr.microsoft.com/windows/nanoserver:1903 cmd.exe
no matching manifest for windows/amd64 10.0.17763 in the manifest list entries
The nano-server images for Windows Server 2016 were marked EOL and they had them removed from Docker Hub
https://github.com/docker/for-win/iss...
docker run hello-world
#Linux Mode
[Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", 1, "Machine")
#Windows & Linux Mode
[Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", $null, "Machine")
https://www.vembu.com/blog/linux-cont...