Docker mongo not found

I had the same issue because I am using the new version of Docker, which no longer uses the mongo command. Instead, it uses a new command called mongosh