To Flush redis using the redis-cli
#enter redis cli
redis-cli
#then flush it
FLUSHALL
To flush it in a docker container
docker exec -it [CONTAINER_NAME] redis-cli FLUSHALL
To Flush redis using the redis-cli
#enter redis cli
redis-cli
#then flush it
FLUSHALL
To flush it in a docker container
docker exec -it [CONTAINER_NAME] redis-cli FLUSHALL