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"