1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

update etcd

This commit is contained in:
kev 2024-10-14 19:03:43 +08:00
parent 74f9671355
commit 267e9b2af8
3 changed files with 4 additions and 3 deletions

View File

@ -484,6 +484,7 @@ A collection of delicious docker recipes.
- [x] prefecthq/prefect
- [x] prom/prometheus
- [x] prosody/prosody
- [x] qaulnet/qauld
- [x] redis/redis-stack
- [x] redpandadata/redpanda
- [x] registry

View File

@ -8,11 +8,11 @@ of a distributed system.
$ docker-compose up -d
$ docker-compose exec etcd bash
>>> etcdctl version
etcdctl version: 3.5.1
etcdctl version: 3.5.16
API version: 3.5
>>> etcdctl put foo bar
OK
>>> etcdctl gut foo
>>> etcdctl get foo
foo
bar
```

View File

@ -3,7 +3,7 @@
version: "3.8"
services:
etcd:
image: quay.io/coreos/etcd:v3.5.1
image: gcr.io/etcd-development/etcd:v3.5.16
command: >
etcd --name=node1
--data-dir=/data