2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01: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] prefecthq/prefect
- [x] prom/prometheus - [x] prom/prometheus
- [x] prosody/prosody - [x] prosody/prosody
- [x] qaulnet/qauld
- [x] redis/redis-stack - [x] redis/redis-stack
- [x] redpandadata/redpanda - [x] redpandadata/redpanda
- [x] registry - [x] registry

View File

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

View File

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