<p>I wrote a simple Java Web application based on Spring with H2 database. Now I want to containerise it.</p>

<p>I was thinking about using docker. Is that a good choice. Would there be some other tool ?</p>

<p>Honestly I do not know advantages of docker. I mean Java is platform independent anyway. So what makes it appealling of using Docker ?  </p>

<p>What I also understand if you have many many containers you need a tool like Kubernetes to manage all these containers.</p>

<p>Thanks for your help.</p>

Josephine
<p>I recommend reading <a href="https://docs.docker.com/get-started/overview/" rel="nofollow noreferrer">Docker Get Started</a>, this will answer all your questions.</p>

<p>If you need a quick example of a dockerized Spring application you can check <a href="https://github.com/leszko/calculator" rel="nofollow noreferrer">this one</a> or read <a href="https://spring.io/guides/gs/spring-boot-docker/" rel="nofollow noreferrer">Spring Boot with Docker guide</a>.</p>
