Update compose version

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/481/head
Kang Huaishuai 2020-12-20 22:18:08 +08:00
parent 47e83e7aa3
commit cc726421c8
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
3 changed files with 12 additions and 5 deletions

View File

@ -9,7 +9,7 @@
```bash ```bash
$ docker-compose --version $ docker-compose --version
docker-compose version 1.25.5, build 4667896b docker-compose version 1.27.4, build 40524192
``` ```
Linux 使 Linux 使
@ -21,7 +21,10 @@ Linux 系统请使用以下介绍的方法安装。
Linux 64 Linux 64
```bash ```bash
$ sudo curl -L https://github.com/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose $ sudo curl -L https://github.com/docker/compose/releases/download/1.27.4/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
# 使
$ sudo curl -L https://download.fastgit.org/docker/compose/releases/download/1.27.4/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose $ sudo chmod +x /usr/local/bin/docker-compose
``` ```
@ -42,7 +45,7 @@ $ sudo pip install -U docker-compose
```bash ```bash
Collecting docker-compose Collecting docker-compose
Downloading docker-compose-1.25.5.tar.gz (149kB): 149kB downloaded Downloading docker-compose-1.27.4.tar.gz (149kB): 149kB downloaded
... ...
Successfully installed docker-compose cached-property requests texttable websocket-client docker-py dockerpty six enum34 backports.ssl-match-hostname ipaddress Successfully installed docker-compose cached-property requests texttable websocket-client docker-py dockerpty six enum34 backports.ssl-match-hostname ipaddress
``` ```
@ -50,7 +53,7 @@ Successfully installed docker-compose cached-property requests texttable websock
## bash ## bash
```bash ```bash
$ curl -L https://raw.githubusercontent.com/docker/compose/1.25.5/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose $ curl -L https://raw.githubusercontent.com/docker/compose/1.27.4/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
``` ```
## ##

View File

@ -12,6 +12,10 @@
```bash ```bash
$ curl -L https://github.com/etcd-io/etcd/releases/download/v3.4.0/etcd-v3.4.0-linux-amd64.tar.gz -o etcd-v3.4.0-linux-amd64.tar.gz $ curl -L https://github.com/etcd-io/etcd/releases/download/v3.4.0/etcd-v3.4.0-linux-amd64.tar.gz -o etcd-v3.4.0-linux-amd64.tar.gz
# 使
$ curl -L https://download.fastgit.org/etcd-io/etcd/releases/download/v3.4.0/etcd-v3.4.0-linux-amd64.tar.gz -o etcd-v3.4.0-linux-amd64.tar.gz
$ tar xzvf etcd-v3.4.0-linux-amd64.tar.gz $ tar xzvf etcd-v3.4.0-linux-amd64.tar.gz
$ cd etcd-v3.4.0-linux-amd64 $ cd etcd-v3.4.0-linux-amd64
``` ```

View File

@ -1,5 +1,5 @@
DOCKER_VERSION=20.10.0 DOCKER_VERSION=20.10.0
DOCKER_COMPOSE_VERSION=1.25.5 DOCKER_COMPOSE_VERSION=1.27.4
DOCKER_MACHINE_VERSION=0.16.1 DOCKER_MACHINE_VERSION=0.16.1
ETCD_VERSION=3.4.0 ETCD_VERSION=3.4.0
KUBERNETES_VERSION=1.14.3 KUBERNETES_VERSION=1.14.3