mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-23 18:25:25 +00:00
Fix outdated versions, template variables and version inconsistencies
- Update K8s Dashboard v2.0.0 to v2.7.0 - Update etcd v3.4.0 to v3.5.17 - Update PostgreSQL 15 to 16 for consistency - Update Node.js 12 to 20 (current LTS) - Replace unresolved GitBook template variables (CODE1/2/3/9)
This commit is contained in:
@@ -13,12 +13,12 @@
|
||||
例如,使用 `curl` 工具下载压缩包,并解压。
|
||||
|
||||
```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.5.17/etcd-v3.5.17-linux-amd64.tar.gz -o etcd-v3.5.17-linux-amd64.tar.gz
|
||||
|
||||
## 国内用户可选择就近的网络加速方式(以可用镜像站为准)
|
||||
|
||||
$ tar xzvf etcd-v3.4.0-linux-amd64.tar.gz
|
||||
$ cd etcd-v3.4.0-linux-amd64
|
||||
$ tar xzvf etcd-v3.5.17-linux-amd64.tar.gz
|
||||
$ cd etcd-v3.5.17-linux-amd64
|
||||
```
|
||||
|
||||
解压后,可以看到文件包括
|
||||
@@ -70,8 +70,8 @@ $ docker run \
|
||||
-p 2379:2379 \
|
||||
-p 2380:2380 \
|
||||
--mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
|
||||
--name etcd-gcr-v3.4.0 \
|
||||
quay.io/coreos/etcd:v3.4.0 \
|
||||
--name etcd-gcr-v3.5.17 \
|
||||
quay.io/coreos/etcd:v3.5.17 \
|
||||
/usr/local/bin/etcd \
|
||||
--name s1 \
|
||||
--data-dir /etcd-data \
|
||||
|
||||
Reference in New Issue
Block a user