start command using sh -c

pull/6/head
Marcus Pöhls 2019-12-18 10:34:35 +01:00
parent 8817a71c3f
commit 548d62361f
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
docker run --name redis --publish 6379:6379 --detach redis:$1 sh -c "docker run --name redis --publish 6379:6379 --detach redis:$1"