Skip to content

Instantly share code, notes, and snippets.

@cnp96
Created December 20, 2020 15:19
Show Gist options
  • Save cnp96/f45aac1710d7563f6910466159f10768 to your computer and use it in GitHub Desktop.
Save cnp96/f45aac1710d7563f6910466159f10768 to your computer and use it in GitHub Desktop.
Start redis instance
docker run --rm -d --name my-redis \
-p 6379:6379 \
-v $(pwd)/data:/data \
-v $(pwd)/redis.conf:/usr/local/etc/redis/redis.conf \
redis redis-server /usr/local/etc/redis/redis.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment