*** Continuing the article “Installing Docker on Windows Server 2019”: https://hackworlds.com/ustanovka-i-zapusk-linux-kontejnerov-v-dockere-na-windows-server-2016-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 "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-Windows-x86_64.exe" -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
No Comments
Comments to: Installing Docker Compose on Windows Server

Your email address will not be published. Required fields are marked *

Attach images - Only PNG, JPG, JPEG and GIF are supported.

Good Reads





Welcome to Typer

Brief and amiable onboarding is the first thing a new user sees in the theme.
Join Typer
Registration is closed.