mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update etcd
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user