Add Docker Scout, remove deprecated type_name

This commit is contained in:
yeasy
2026-04-25 15:02:24 +00:00
parent 52329fee5a
commit 20a3479f8a
4 changed files with 30 additions and 17 deletions
+5 -5
View File
@@ -13,12 +13,12 @@
例如使用 `curl` 工具下载压缩包并解压
```bash
$ 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
$ 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
## 国内用户可选择就近的网络加速方式(以可用镜像站为准)
$ tar xzvf etcd-v3.5.29-linux-amd64.tar.gz
$ cd etcd-v3.5.29-linux-amd64
$ tar xzvf etcd-v3.5.21-linux-amd64.tar.gz
$ cd etcd-v3.5.21-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.29 \
quay.io/coreos/etcd:v3.5.29 \
--name etcd-gcr-v3.5.21 \
quay.io/coreos/etcd:v3.5.21 \
/usr/local/bin/etcd \
--name s1 \
--data-dir /etcd-data \
+3 -3
View File
@@ -8,7 +8,7 @@
services:
node1:
image: quay.io/coreos/etcd:v3.5.29
image: quay.io/coreos/etcd:v3.5.21
volumes:
- node1-data:/etcd-data
expose:
@@ -40,7 +40,7 @@ services:
- docker-etcd
node2:
image: quay.io/coreos/etcd:v3.5.29
image: quay.io/coreos/etcd:v3.5.21
volumes:
- node2-data:/etcd-data
networks:
@@ -72,7 +72,7 @@ services:
- docker-etcd
node3:
image: quay.io/coreos/etcd:v3.5.29
image: quay.io/coreos/etcd:v3.5.21
volumes:
- node3-data:/etcd-data
networks: