docker安装etcd

docker run -d \
  --name etcd \
  --user root \
  --restart always \
  -p 2379:2379 \
  -v /share/CACHEDEV1_DATA/VOL2/container/etcd:/etcd-data \
  quay.io/coreos/etcd:v3.5.15 \
  etcd \
  --data-dir /etcd-data \
  --name default \
  --listen-client-urls http://0.0.0.0:2379 \
  --advertise-client-urls http://192.168.5.101:2379 \
  --listen-peer-urls http://127.0.0.1:2380 \
  --initial-advertise-peer-urls http://127.0.0.1:2380 \
  --initial-cluster default=http://127.0.0.1:2380 \
  --auto-compaction-mode revision \
  --auto-compaction-retention 1000 \
  --quota-backend-bytes 4294967296

 

THE END
抢沙发

请登录后发表评论

    暂无评论内容