我尝试在 Windows Server 2016 中安装 Docker,但没有成功:
\n\nPS C:\\Windows\\system32> Install-Module -Name "DockerMsftProvider" -Force -Verbose\nVERBOSE: Using the provider \'PowerShellGet\' for searching packages.\nVERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories.\nVERBOSE: Getting the provider object for the PackageManagement Provider \'NuGet\'.\nVERBOSE: The specified Location is \'https://www.powershellgallery.com/api/v2/\' and PackageManagementProvider is\n\'NuGet\'.\nVERBOSE: Searching repository \'https://www.powershellgallery.com/api/v2/FindPackagesById()?id=\'DockerMsftProvider\'\' for\n \'\'.\nVERBOSE: Total package yield:\'1\' for the specified package \'DockerMsftProvider\'.\nVERBOSE: Performing the operation "Install-Module" on target "Version \'1.0.0.1\' of module \'DockerMsftProvider\'".\nVERBOSE: The installation scope is …Run Code Online (Sandbox Code Playgroud) windows powershell environment-variables docker windows-server-2016