Created
November 8, 2014 09:04
-
-
Save ianblenke/4fcf5bcca7077a85e7ce to your computer and use it in GitHub Desktop.
Docker run etcdctl to set an etcd key for /deis/store/hosts/$IP
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
docker run --rm \ | |
coreos/etcd \ | |
/bin/sh -c "cd /go/src/github.com/coreos/etcd/etcdctl; \ | |
go install ; \ | |
/go/bin/etcdctl --peers $IP:4001 \ | |
set /deis/store/hosts/$IP $IP" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment