I find out, that many times when my mongo db fails and try to restart itself, docker ps shows status restarting(100) and actually does nothing but docker-compose says status is up but this container does not exist at all anymore after first crash. Any ideas?
what it the exact command or dockerfile you are using to launch it ??
try to run it with an "-i " and a “-t” to enable it to continue running after the mongo process has failed