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
 

猜你喜欢

转载自blog.csdn.net/qq_34924407/article/details/82079058