How can I install Docker Compose on a Windows Server 2019 box that has Docker Enterprise Edition (EE) installed?

10.2k Views Asked by At

I'm trying to install a Bitwarden self-hosted solution. The instructions here say that I need to install both Docker and Docker Compose.

How can I install Docker Compose on Windows Server 2019? I don't want to have to install Docker Desktop, which uses Docker Community Edition (CE).

3

There are 3 best solutions below

0
Lucas Duarte On

Do you install docker with docker provider and package on Windows?

In PowerShell, run the following command to download Docker Compose, replacing $dockerComposeVersion with the specific version of Compose you want to use:

Invoke-WebRequest "https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\docker\docker-compose.exe

You can see releases in https://github.com/docker/compose/releases

More details: https://docs.docker.com/v17.09/compose/install/#install-compose

0
Sangita Satapathy On

I am also using windows server 2019, so from the above page I used:

Invoke-WebRequest "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\docker-compose.exe

It workded perfectly okay for me

0
mahendra150 On

powersheel command for docker-compose installation try this

Invoke-WebRequest "https://github.com/docker/compose/releases/download/1.12.0/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\docker\docker-compose.exe