当前位置: 代码迷 >> 综合 >> windows10 安装 Docker Compose
  详细解决方案

windows10 安装 Docker Compose

热度:44   发布时间:2023-10-21 10:22:26.0

#在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