Run update.sh
This commit is contained in:
parent
209fb7c977
commit
fcbe16b90e
|
|
@ -82,7 +82,7 @@ $ docker run --name some-app --link some-cassandra:cassandra -d app-that-uses-ca
|
|||
Using the environment variables documented below, there are two cluster scenarios: instances on the same machine and instances on separate machines. For the same machine, start the instance as described above. To start other instances, just tell each new node where the first is.
|
||||
|
||||
```console
|
||||
$ docker run --name some-cassandra2 -d -e CASSANDRA_SEEDS="$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' some-cassandra)" cassandra:tag
|
||||
$ docker run --name some-cassandra2 -d -e CASSANDRA_SEEDS="$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' some-cassandra)" cassandra:tag
|
||||
```
|
||||
|
||||
... where `some-cassandra` is the name of your original Cassandra Server container, taking advantage of `docker inspect` to get the IP address of the other container.
|
||||
|
|
|
|||
Loading…
Reference in New Issue