setup-redis/start-redis.sh

7 lines
138 B
Bash
Raw Normal View History

2019-12-18 09:32:58 +00:00
#!/bin/sh
2019-12-18 09:28:22 +00:00
2019-12-18 09:56:22 +00:00
docker_run="docker run"
docker_run="$docker_run --name redis --publish 6379:6379 --detach redis:$1"
sh -c "$docker_run"