Skip to content

Instantly share code, notes, and snippets.

@dimasch
Last active July 5, 2024 07:16
Show Gist options
  • Save dimasch/57b7cee3f7f9d274253d to your computer and use it in GitHub Desktop.
Save dimasch/57b7cee3f7f9d274253d to your computer and use it in GitHub Desktop.
Clear a redis cache in Docker
docker exec -it container-name redis-cli FLUSHALL
@mishra011
Copy link

Thank you, It worked
docker exec -it container-id redis-cli -a password FLUSHALL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment