From 69832db098e29b1bce1c989b2ea68136be5ff1ac Mon Sep 17 00:00:00 2001 From: Francois-Guillaume Ribreau Date: Tue, 30 Oct 2018 21:58:49 +0100 Subject: [PATCH] doc: add docker for mac command --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ef33168..a3ca1af 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,12 @@ So we simply need to specify the `HOST_IP` (replace it with your own local IP, y docker run -it --rm --name redsmin-proxy -e REDSMIN_KEY=YOUR_REDSMIN_KEY -e REDIS_URI="redis://HOST_IP:6379" redsmin/proxy ``` +On MacOSX, this should work and let redsmin-proxy connect to a Redis container on the same host: + +```bash +docker run -it --rm --name redsmin-proxy -e REDSMIN_KEY=YOUR_REDSMIN_KEY -e REDIS_URI="redis://docker.for.mac.localhost:6379" redsmin/proxy +``` + ###### Start and connect Redsmin proxy to an network-wide available Redis