
Halo, kalau kamu merasa tulisan saya ngebantu kamu, kamu bisa ucapkan terima kasih lewat saweria .
If you feel this website help you, you can donate at saweria .

Exited With Code 0 After Run docker-compose up
This happen when I add command
in docker-compose file. But still don’t know where that error come.
Add tty: true
at the end of docker-compose line will fix this kind of problem, but not this time.
How To Fix That
You can suppress/by pass exited with code 0 error using command : tail -f /dev/null
, then using docker-exec to remote your container & check what make your docker-compose not working correctly.
You can check if the docker running using docker ps
or using netstat

Check Your Container Running Using netstat
In my case, docker-compose return with that error because supervisor service not start automatically.
Add service start supervisor
at docker-compose command and voila, it’s working now.