Install the Compose standalone | Docker Documentation
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。试新的跨平台 PowerShell https://aka.ms/pscore6
PS C:\Users\Administrator> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
PS C:\Users\Administrator> Start-BitsTransfer -Source "https://github.com/docker/compose/releases/download/v2.14.0/docker-compose-Windows-x86_64.exe" -Destination $Env:ProgramFiles\Docker\docker-compose.exe
感觉其实就是下载了一个docker-compose.exe文件,把它拷贝到C:\Program Files\Docker\Docker\resources\bin里即可