Skip to content

Instantly share code, notes, and snippets.

@boddumanohar
Created April 2, 2021 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boddumanohar/98d6cb7affd2e9d8077f95b96cf23cad to your computer and use it in GitHub Desktop.
Save boddumanohar/98d6cb7affd2e9d8077f95b96cf23cad to your computer and use it in GitHub Desktop.
run etcd locally
docker run -d \
  -p 2379:2379 \
  -p 4001:4001 \
  --name etcd \
  -v /usr/share/ca-certificates/:/etc/ssl/certs \
  quay.io/coreos/etcd:v2.3.8 \
  -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 \
  --advertise-client-urls http://0.0.0.0:2379
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment