From 0d7d6c65b5ed26cbf1ba28d57cfe222ccde55a2f Mon Sep 17 00:00:00 2001 From: Marcus Poehls Date: Sun, 12 Apr 2020 06:49:08 +0200 Subject: [PATCH] Update start-redis.sh --- start-redis.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/start-redis.sh b/start-redis.sh index b57211e..2dc6a27 100644 --- a/start-redis.sh +++ b/start-redis.sh @@ -1,3 +1,5 @@ #!/bin/sh -docker run --name redis --publish 6379:6379 --detach redis:$1 +REDIS_VERSION=$1 + +docker run --name redis --publish 6379:6379 --detach redis:$REDIS_VERSION