Created
October 18, 2017 08:43
-
-
Save Slakah/b20fa23c037f62bff68ed493fcc10ad4 to your computer and use it in GitHub Desktop.
Redis Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -uxe | |
# Runs a redis instance, and connects via redis-cli | |
docker stop redis-playground || true | |
docker rm redis-playground || true | |
docker run --name redis-playground -d redis | |
exec docker run -it --link redis-playground:redis --rm redis redis-cli -h redis -p 6379 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment