Skip to content

Instantly share code, notes, and snippets.

@joeyguerra
Last active June 2, 2022 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeyguerra/cd3bf4fafbdd786fd27454c813529d16 to your computer and use it in GitHub Desktop.
Save joeyguerra/cd3bf4fafbdd786fd27454c813529d16 to your computer and use it in GitHub Desktop.
Run Redis as a docker container
docker run --rm -p 6379:6379 -d --name myredis -v $(pwd):/data redis redis-server --requirepass $(REDIS_PASSWORD) --appendonly yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment