DEV Community

Discussion on: Wait for MongoDB, Postgres or MySql to start on Docker

Collapse
 
dmfay profile image
Dian Fay

Linux; I haven't used Windows for several years. If your Mongo container is constantly restarting like you mentioned below, that sounds like a problem internal to it. Try starting it outside the docker-compose environment so you can diagnose the problem without all the other stuff getting in the way. Good luck!