Docker mongo not found

Try with mongosh
Check this thread

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