mirror of https://github.com/docker/docs.git
Revert "incorrect download link"
This commit is contained in:
parent
4b292bec93
commit
78129fe53a
|
@ -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/v{{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/{{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/v{{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/{{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}}`
|
||||
|
|
Loading…
Reference in New Issue