i am using docker to start using postgres, kibana, elasticsearch and redis.(using docker-compose up command). However redis failed to start giving this error.

You can see read the last error line in the screenshot(showing bad file format). How can i resolve this? Also i dont know how to run redis commands in terminal using docker such as ./redis-check-aof --fix as given in screenshot?