From f413d25dbafda880a7d1e2854d24ff0b9faae0d5 Mon Sep 17 00:00:00 2001 From: KY-7 Date: Sat, 8 Jan 2022 14:26:39 +0000 Subject: [PATCH] incorrect download link For example: /download/v2.2.3/ (correct) instead of /download/2.2.3/ (incorrect) --- compose/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/install.md b/compose/install.md index 1997229f9c..31dee674e9 100644 --- a/compose/install.md +++ b/compose/install.md @@ -98,7 +98,7 @@ on Microsoft Windows Server and want to install Docker Compose. Compose (v{{site.compose_version}}): ```powershell - Invoke-WebRequest "https://github.com/docker/compose/releases/download/{{site.compose_version}}/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\docker-compose.exe + Invoke-WebRequest "https://github.com/docker/compose/releases/download/v{{site.compose_version}}/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\docker-compose.exe ``` **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. @@ -132,7 +132,7 @@ also included below. 1. Run this command to download the current stable release of Docker Compose: ```console - $ sudo curl -L "https://github.com/docker/compose/releases/download/{{site.compose_version}}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose + $ sudo curl -L "https://github.com/docker/compose/releases/download/v{{site.compose_version}}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose ``` > To install a different version of Compose, substitute `{{site.compose_version}}`