A lot of tools and services today provide official Docker images so that you don’t have to worry about downloading all the required dependencies, fixing version conflicts of those dependencies, and other compatibility issues. Docker is just peace of mind, to put it simply.
But how do we get started with this? I get this question a lot. And that’s the reason I’m writing this post. Getting started is easy. You just create a Dockerfile, write a command to download all the dependencies, copy your project into the Docker image, build it, and run it. In this post, we’ll take a simple Spring Boot web application as an example for this and see how we can get this done.
#programming #java #technology #spring #docker