windows10 安装 Docker Compose

#在Powershell中,由于Github现在需要TLS1.2,请运行以下命令:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
#然后运行以下命令下载Docker Compose,替换$dockerComposeVersion为您要使用的Compose的特定版本:
Invoke-WebRequest "https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\docker\docker-compose.exe
 

你可能感兴趣的:(运维,docker)