Why my docker container destroy itself?
This is the 3th time I am having this issue and digitalocean support is not quite helping. They are really, really slow. Anyway…
I have a 1GB droplet with 2 docker containers. One for Spring-boot 1.3.8 application and the other for MySQL 5.7. They working fine for a while… I can do all CRUD operations on my application. Well, just for a while anyway… After a couple of hours uptime, my application goes down. I go in ssh and check for containers <docker ps -a> and I see only MySQL container is there, up and running. Spring boot application is gone! What can be the problem? Why mysql container is still up and running but my application container get destroyed? What can I do to figure out what was the problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.