Created
December 20, 2020 15:19
-
-
Save cnp96/f45aac1710d7563f6910466159f10768 to your computer and use it in GitHub Desktop.
Start redis instance
This file contains hidden or 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
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