Skip to content

v2.0.4

Compare
Choose a tag to compare
@yichengq yichengq released this 28 Feb 01:42

Changelog

  • etcd now builds correctly on Windows
  • Add documentation about running etcd in Docker containers
  • Bugfix: etcd fails to be killed by signals when run as pid 1
  • Bugfix: a new etcd member may get outdated cluster info from a snapshot, instead of the current peers

Getting Started

OS X

To get started on OSX run the following in a terminal:

curl -L  https://github.com/coreos/etcd/releases/download/v2.0.4/etcd-v2.0.4-darwin-amd64.zip -o etcd-v2.0.4-darwin-amd64.zip
unzip etcd-v2.0.4-darwin-amd64.zip
cd etcd-v2.0.4-darwin-amd64
./etcd

Open another terminal:

# Press enter to background etcd
./etcdctl set mykey "this is awesome"
./etcdctl get mykey

Linux

To get started on Linux run the following in a terminal:

curl -L  https://github.com/coreos/etcd/releases/download/v2.0.4/etcd-v2.0.4-linux-amd64.tar.gz -o etcd-v2.0.4-linux-amd64.tar.gz
tar xzvf etcd-v2.0.4-linux-amd64.tar.gz
cd etcd-v2.0.4-linux-amd64
./etcd

Open another terminal:

# Press enter to background etcd
./etcdctl set mykey "this is awesome"
./etcdctl get mykey

Docker

To get started with Docker on Linux run the following in a terminal:

docker run -p 4001:4001 -v /usr/share/ca-certificates/:/etc/ssl/certs quay.io/coreos/etcd:v2.0.4

ACI/Rocket

To get started with Rocket on Linux run the following in a terminal:

rkt run coreos.com/etcd:v2.0.4