windows升级docker-compose

2022-12-11 09:17:23 浏览数 (1)

Install the Compose standalone | Docker Documentation

代码语言:javascript复制
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。试新的跨平台 PowerShell https://aka.ms/pscore6
PS C:UsersAdministrator> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
PS C:UsersAdministrator> Start-BitsTransfer -Source "https://github.com/docker/compose/releases/download/v2.14.0/docker-compose-Windows-x86_64.exe" -Destination $Env:ProgramFilesDockerdocker-compose.exe

​​​​​​​​​​​​​​

 感觉其实就是下载了一个docker-compose.exe文件,把它拷贝到C:Program FilesDockerDockerresourcesbin里即可

0 人点赞