mirror of https://github.com/docker/docs.git
Fix docs when installing on Compose on Ubuntu. (#4399)
This commit is contained in:
parent
201444969e
commit
503299c466
|
@ -107,7 +107,8 @@ by step instructions are also included below.
|
||||||
`$dockerComposeVersion` with the specific version of Compose you want to use:
|
`$dockerComposeVersion` with the specific version of Compose you want to use:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo curl -L
|
sudo -i
|
||||||
|
curl -L
|
||||||
https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker-compose-`uname
|
https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker-compose-`uname
|
||||||
-s`-`uname -m` -o /usr/local/bin/docker-compose
|
-s`-`uname -m` -o /usr/local/bin/docker-compose
|
||||||
```
|
```
|
||||||
|
@ -116,7 +117,8 @@ https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker
|
||||||
is:
|
is:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo curl -L https://github.com/docker/compose/releases/download/{{composeversion}}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
|
sudo -i
|
||||||
|
curl -L https://github.com/docker/compose/releases/download/{{composeversion}}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
|
||||||
```
|
```
|
||||||
|
|
||||||
> Use the latest Compose release number in the download command.
|
> Use the latest Compose release number in the download command.
|
||||||
|
|
Loading…
Reference in New Issue