ETCD 2.0 :-
Dockerfile :-
FROM ubuntu:14.04 MAINTAINER Senthil Kumar "[email protected]" RUN apt-get -y update RUN apt-get -y install curl RUN curl -L https://github.com/coreos/etcd/releases/download/v2.0.11/etcd-v2.0.11-linux-amd64.tar.gz -o /etcd-v2.0.11-linux-amd64.tar.gz RUN tar xzvf /etcd-v2.0.11-linux-amd64.tar.gz WORKDIR /etcd-v2.0.11-linux-amd64 RUN cd /etcd-v2.0.11-linux-amd64 RUN cp etcd* /usr/local/bin/ EXPOSE 4001 2380 2379
$ docker run -it 4001:4001 cloudsenthil/etcd
$ curl -L http://127.0.0.1:4001/v2/keys/ | python -mjson.tool
Content type
Image
Digest
Size
98.1 MB
Last updated
almost 11 years ago
docker pull cloudsenthil/etcd