Run etcd as follows (I use boot2dokcer, so i get the ip first and let etcd use it for its addr
parameter)
BIP=$(boot2docker ip)
docker run -t -i -p 4001:4001 quay.io/coreos/etcd -addr $BIP:4001
#update etcd with some initial values
curl http://$BIP:4001/v2/keys/myapp/database/url -XPUT -d value="cs:///org/c/mynewsql/members"
curl http://$BIP:4001/v2/keys/myapp/database/user -XPUT -d value="newurl//ashwin"