Installing Docker Compose on Windows Server

*** Continuing the article “Installing Docker on Windows Server 2019”:

One problem emerged when installing Docker preview on Windows Server – Docker Compose does not go in the box.

We are installing .:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Invoke-WebRequest "" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\docker-compose.exe

The official documentation for Windows Server 2019 still suggests adding an environment variable, but I didn’t do it.:

Note: On Windows Server 2019, you can add the Compose executable to $Env:ProgramFiles\Docker. Because this directory is registered in the system PATH, you can run the docker-compose --version command on the subsequent step with no additional configuration.

Checking installation:

docker-compose --version

docker-compose version 1.25.4, build 01110ad01

About: Morozov Dmitry

My specialisation is software engineer. I am 35 years old and have been working in the IT field for over 15 years. I have accumulated experience in programming, project management, training and administration.