Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Commit

Permalink
simplify dockerized etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
jdef committed Mar 12, 2015
1 parent a875295 commit fa74113
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,9 @@ If you are not running in a production setting then a single etcd instance will
To run etcd, see [github.com/coreos/etcd][6], or run it via docker:

```shell
$ export servicehost=... # IP address of the framework host
$ sudo docker run -d --hostname $(hostname -f) -p 4001:4001 -p 7001:7001 coreos/etcd

$ sudo docker run -d --net=host coreos/etcd go-wrapper run \
-advertise-client-urls=http://${servicehost}:4001 \
-listen-client-urls=http://${servicehost}:4001 \
-initial-advertise-peer-urls=http://${servicehost}:7001 \
-listen-peer-urls=http://${servicehost}:7001
$ export servicehost=... # IP address of the framework host, perhaps $(hostname -i)
```

#### kubernetes-mesos
Expand Down

0 comments on commit fa74113

Please sign in to comment.