Windows 2019 docker 速记
标签:nlog sdk ima 市场 rsh ott code log force
教程参考:
http://www.runoob.com/docker/docker-tutorial.html
开发调试参考:
https://www.cnblogs.com/xuebuwan/archive/2018/05/06/8707187.html
?
docker for window安装
https://www.cnblogs.com/stulzq/p/7743667.html
?
部署参考:
https://blog.sixeyed.com/getting-started-with-docker-on-windows-server-2019/
主要命令如下
?
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市场参考
https://hub.docker.com/r/microsoft
?
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
|
?
?
?
?
Windows 2019 docker 速记
标签:nlog sdk ima 市场 rsh ott code log force
原文地址:https://www.cnblogs.com/QinQouShui/p/9903256.html
评论