Last active
December 6, 2024 03:24
-
-
Save dimasch/57b7cee3f7f9d274253d to your computer and use it in GitHub Desktop.
Clear a redis cache in Docker
This file contains 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 exec -it container-name redis-cli FLUSHALL |
Works, but also gives me a
failed to resize tty, using default size
warning.Better to use
-i
instead of-it
:
docker exec -i container-name redis-cli FLUSHALL
-it
parameter can be omitted:
docker exec container-name redis-cli FLUSHALL
Thank You
Thank you!
it works!!, thank you!!
Thank you!!
Thank you, It worked
docker exec -it container-id redis-cli -a password FLUSHALL
thank youu
Thank you! still thinking where is the react button :D
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!