mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 16:37:34 +00:00
Update versions and fix formatting issues
This commit is contained in:
@@ -13,12 +13,12 @@
|
||||
例如,使用 `curl` 工具下载压缩包,并解压。
|
||||
|
||||
```bash
|
||||
$ curl -L https://github.com/etcd-io/etcd/releases/download/v3.5.21/etcd-v3.5.21-linux-amd64.tar.gz -o etcd-v3.5.21-linux-amd64.tar.gz
|
||||
$ curl -L https://github.com/etcd-io/etcd/releases/download/v3.5.29/etcd-v3.5.29-linux-amd64.tar.gz -o etcd-v3.5.29-linux-amd64.tar.gz
|
||||
|
||||
## 国内用户可选择就近的网络加速方式(以可用镜像站为准)
|
||||
|
||||
$ tar xzvf etcd-v3.5.21-linux-amd64.tar.gz
|
||||
$ cd etcd-v3.5.21-linux-amd64
|
||||
$ tar xzvf etcd-v3.5.29-linux-amd64.tar.gz
|
||||
$ cd etcd-v3.5.29-linux-amd64
|
||||
```
|
||||
解压后,可以看到文件包括
|
||||
|
||||
@@ -65,8 +65,8 @@ $ docker run \
|
||||
-p 2379:2379 \
|
||||
-p 2380:2380 \
|
||||
--mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
|
||||
--name etcd-gcr-v3.5.21 \
|
||||
quay.io/coreos/etcd:v3.5.21 \
|
||||
--name etcd-gcr-v3.5.29 \
|
||||
quay.io/coreos/etcd:v3.5.29 \
|
||||
/usr/local/bin/etcd \
|
||||
--name s1 \
|
||||
--data-dir /etcd-data \
|
||||
|
||||
Reference in New Issue
Block a user