Skip to content

Instantly share code, notes, and snippets.

@CypherpunkSamurai
Last active February 20, 2025 15:39
Show Gist options
  • Save CypherpunkSamurai/19930e24c1fe9aa95da86c56c4eb5e46 to your computer and use it in GitHub Desktop.
Save CypherpunkSamurai/19930e24c1fe9aa95da86c56c4eb5e46 to your computer and use it in GitHub Desktop.
Run Redis on Windows using Docker

Run Redis on Windows using Docker

# docker rm redis if exists
docker rm -f redis redis-container redis-server
# docker run
docker run --name redis -d -p 6379:6379 redis:alpine

you can now connect to redis:

  • host: localhost
  • port: 6379
  • root username: default
  • root password: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment