From c1a499f9ec259ede98f5c1b4c511a0e5ff5a4559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20P=C3=B6hls?= Date: Wed, 18 Dec 2019 10:56:22 +0100 Subject: [PATCH] workaround --- start-redis.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/start-redis.sh b/start-redis.sh index deaa6c7..77ffc5f 100644 --- a/start-redis.sh +++ b/start-redis.sh @@ -1,3 +1,6 @@ #!/bin/sh -sh -c "docker run --name redis --publish 6379:6379 --detach redis:$1" +docker_run="docker run" +docker_run="$docker_run --name redis --publish 6379:6379 --detach redis:$1" + +sh -c "$docker_run"