$ docker run --rm myorg/etcd
[etcd] Nov 6 13:55:29.748 CRITICAL | raft.Server: Name cannot be blank
Created
November 6, 2014 22:49
-
-
Save andyshinn/9e8b26bba4c51029d1fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM progrium/busybox | |
| ENV ETCD_VERSION v0.4.6 | |
| ENV ETCD_DATA_DIR /etcddata | |
| RUN opkg-install wget \ | |
| && wget --no-check-certificate -qO etcd.tar.gz https://github.com/coreos/etcd/releases/download/$ETCD_VERSION/etcd-$ETCD_VERSION-linux-amd64.tar.gz \ | |
| && gunzip -c etcd.tar.gz | tar -x -f - \ | |
| && mv /etcd-$ETCD_VERSION-linux-amd64/etcd /etcd-$ETCD_VERSION-linux-amd64/etcdctl / \ | |
| && rm -rf /etcd-$ETCD_VERSION-linux-amd64 \ | |
| && rm -rf /etcd.tar.gz \ | |
| && mkdir /etcddata | |
| VOLUME ["/etcddata"] | |
| CMD ["/etcd"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment