1. 安装方式
powershell
Install-Module-NameDockerMsftProvider-RepositoryPSGallery-Force
Install-Package-Name docker -ProviderNameDockerMsftProvider
Restart-Computer-Force
2. 使用
docker pull microsoft/nanoserver
3. 常见问题解决
Install-Package -Name docker -ProviderName DockerMsftProvider 安装出错
解决方法,手工下载文件放到路径下安装
安装方法:
Find-Package -ProviderName DockerMsftProvider | Install-Package -Verbose