Fixed `-OutFile` argument to be the correct path

`$Env:ProgramFiles\Docker\Docker\resources\bin\docker-compose.exe`
This commit is contained in:
Kevin Miller 2018-04-06 08:59:18 -05:00 committed by GitHub
parent 5317322191
commit 593d89d4d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -77,14 +77,14 @@ Docker Compose. To do so, follow these steps:
version of Compose you want to use: version of Compose you want to use:
```none ```none
Invoke-WebRequest "https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\docker\docker-compose.exe Invoke-WebRequest "https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\Docker\resources\bin\docker-compose.exe
``` ```
For example, to download Compose version {{site.compose_version}}, For example, to download Compose version {{site.compose_version}},
the command is: the command is:
```none ```none
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/{{site.compose_version}}/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\Docker\Docker\resources\bin\docker-compose.exe
``` ```
> Use the latest Compose release number in the download command. > Use the latest Compose release number in the download command.
> >