From 548d62361f491ebf83b5f8b5bc0227141827a636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20P=C3=B6hls?= Date: Wed, 18 Dec 2019 10:34:35 +0100 Subject: [PATCH] start command using sh -c --- start-redis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-redis.sh b/start-redis.sh index b2509fe..deaa6c7 100644 --- a/start-redis.sh +++ b/start-redis.sh @@ -1,3 +1,3 @@ #!/bin/sh -docker run --name redis --publish 6379:6379 --detach redis:$1 +sh -c "docker run --name redis --publish 6379:6379 --detach redis:$1"