mirror of https://github.com/docker/docs.git
Add affinity to the redmon demo.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
cdf884cd10
commit
3d4a2f4ff4
|
@ -4,6 +4,6 @@
|
|||
docker run -d -P --name redis redis
|
||||
|
||||
# start redmon and point it to the redis container's IP:port
|
||||
docker run -d -P --name redmon vieux/redmon -r redis://`docker port redis 6379`
|
||||
docker run -d -P --name redmon -e affinity:container!=redis vieux/redmon -r redis://`docker port redis 6379`
|
||||
|
||||
echo "http://`docker port redmon 4567`"
|
||||
|
|
Loading…
Reference in New Issue