Reputation: 35
I wrote a simple Java Web application based on Spring with H2 database. Now I want to containerise it.
I was thinking about using docker. Is that a good choice. Would there be some other tool ?
Honestly I do not know advantages of docker. I mean Java is platform independent anyway. So what makes it appealling of using Docker ?
What I also understand if you have many many containers you need a tool like Kubernetes to manage all these containers.
Thanks for your help.
Upvotes: 0
Views: 502
Reputation: 5541
I recommend reading Docker Get Started, this will answer all your questions.
If you need a quick example of a dockerized Spring application you can check this one or read Spring Boot with Docker guide.
Upvotes: 1