File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,10 +11,18 @@ services and other useful things. [gRPC](https://grpc.io) is used for communicat
1111## etcd required
1212
1313If there is no etcd in your infrastructure, you can install it from a
14- [ docker container] ( https://hub.docker.com/r/bitnami/etcd ) for tests:
14+ [ docker container] ( https://etcd.io/docs/v3.6/op-guide/container/ ) for tests:
1515
1616``` shell
17- docker run -d --name etcd --env=ALLOW_NONE_AUTHENTICATION=yes -p 2379:2379 -p 2380:2380 bitnami/etcd
17+ docker run -d \
18+ -p 2379:2379 \
19+ -p 2380:2380 \
20+ --name etcd gcr.io/etcd-development/etcd:v3.6.5 \
21+ /usr/local/bin/etcd \
22+ --name etcd \
23+ --initial-advertise-peer-urls http://127.0.0.1:2380 --listen-peer-urls http://0.0.0.0:2380 \
24+ --advertise-client-urls http://127.0.0.1:2379 --listen-client-urls http://0.0.0.0:2379 \
25+ --initial-cluster etcd=http://127.0.0.1:2380
1826```
1927
2028Of course, you can use docker in production or install etcd using your favorite package manager.
You can’t perform that action at this time.
0 commit comments