Skip to content

v2.2.4

Compare
Choose a tag to compare
@gyuho gyuho released this 13 Jan 22:25

Changelog

[GH 4150] etcdctl: update dir command should not require value arguement
[[GH 4153/4174](https://github.com//pull/4153, https://github.com//pull/4174)] etcdmain: avoid wrap TLS listener so HTTP server can get TLS configuration from connection
Build etcd with go 1.5.3, which includes a security fix to the math/big package affecting the crypto/tls package

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.2.4/etcd-v2.2.4-darwin-amd64.zip -o etcd-v2.2.4-darwin-amd64.zip
unzip etcd-v2.2.4-darwin-amd64.zip
cd etcd-v2.2.4-darwin-amd64
./etcd

Open another terminal:

./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.2.4/etcd-v2.2.4-linux-amd64.tar.gz -o etcd-v2.2.4-linux-amd64.tar.gz
tar xzvf etcd-v2.2.4-linux-amd64.tar.gz
cd etcd-v2.2.4-linux-amd64
./etcd

Open another terminal:

./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 --name etcd quay.io/coreos/etcd:v2.2.4
docker exec etcd /etcdctl set foo bar

For advanced usage, please check our docker guide.

ACI/rkt

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

# for more info about rkt command line, see related doc at https://github.com/coreos/rkt/blob/master/Documentation/commands.md#rkt-run
rkt run --volume data-dir,kind=host,source=/tmp --mds-register=false coreos.com/etcd:v2.2.4