教程参考:
开发调试参考:
docker for window安装
部署参考:
主要命令如下
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -name Shell -Value 'PowerShell.exe -noExit'
Install-WindowsFeature -Name Containers
Uninstall-WindowsFeature Windows-Defender
Restart-Computer -Force
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force -RequiredVersion 18.03
Start-Service docker
|
Docker市场参考
docker image pull mcr.microsoft.com/windows/servercore docker image pull mcr.microsoft.com/windows/nanoserver docker pull microsoft/dotnet:2.1-sdk
|
启动DOCKER
docker info docker images docker |