Sign inSign up

cosw/etcd

By cosw

•Updated about 9 years ago

etcd作为一个受到Zookeeper与doozer启发而催生的项目

Image
0

138

cosw/etcd repository overview

⁠设置当前host的ip

export HOSTIP=127.0.0.1

⁠启动etcd k-v服务器

docker run -d -v /etc/ssl/certs:/etc/ssl/certs -p 4001:4001 -p 2380:2380 -p 2379:2379
--name etcd ystyle/etcd -name etcd0 -advertise-client-urls http://${HOSTIP}:2379,http://${HOSTIP}:4001 -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001⁠ -initial-advertise-peer-urls http://${HOSTIP}:2380 -listen-peer-urls http://0.0.0.0:2380⁠ -initial-cluster-token etcd-cluster-1 -initial-cluster etcd0=http://${HOSTIP}:2380 -initial-cluster-state new

Tag summary

Content type

Image

Digest

Size

7.3 MB

Last updated

about 9 years ago

docker pull cosw/etcd