Images getting wiped out on Mac

Hi! I am using docker on mac. The images are getting wiped out whenever mac or docker is restarted. Could you please provide a solution to prevent this?