From 92e701cbc09af751473659f09ce343065481a365 Mon Sep 17 00:00:00 2001 From: Rafal Leszko Date: Tue, 26 Jun 2018 09:49:56 +0200 Subject: [PATCH] Remove deprecated '--link' from README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 05a7fa9b..7af91d54 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,12 @@ $ docker run -e HZ_LICENSE_KEY= hazelcast/hazelcast-enterprise To run two Hazelcast nodes with Management Center, use the following commands. ``` -$ docker run -p 8080:8080 --name mancenter hazelcast/management-center -$ docker run -p 5701:5701 -e HZ_LICENSE_KEY= -e MANCENTER_URL="http://mancenter:8080/hazelcast-mancenter" -e JAVA_OPTS="-Dhazelcast.local.publicAddress=:5701" --link mancenter hazelcast/hazelcast-enterprise -$ docker run -p 5702:5701 -e HZ_LICENSE_KEY= -e MANCENTER_URL="http://mancenter:8080/hazelcast-mancenter" -e JAVA_OPTS="-Dhazelcast.local.publicAddress=:5702" --link mancenter hazelcast/hazelcast-enterprise +$ docker run -p 8080:8080 hazelcast/management-center +$ docker run -p 5701:5701 -e HZ_LICENSE_KEY= -e MANCENTER_URL="http://:8080/hazelcast-mancenter" -e JAVA_OPTS="-Dhazelcast.local.publicAddress=:5701" hazelcast/hazelcast-enterprise +$ docker run -p 5702:5701 -e HZ_LICENSE_KEY= -e MANCENTER_URL="http://:8080/hazelcast-mancenter" -e JAVA_OPTS="-Dhazelcast.local.publicAddress=:5702" hazelcast/hazelcast-enterprise ``` -Note that the `MANCENTER_URL` environment variable defines the address of the Management Center application. In this case, it is available at `http://mancenter:8080/hazelcast-mancenter`. +Note that the `MANCENTER_URL` environment variable defines the address of the Management Center application. In this case, it is available at `http://:8080/hazelcast-mancenter`. Now, if you open a browser at [http://localhost:8080/hazelcast-mancenter](http://localhost:8080/hazelcast-mancenter), you should see your cluster with 2 nodes. You can start the [client](https://github.com/hazelcast/hazelcast-code-samples/tree/master/clients/basic) and observe in Management Center that the map data has been added.