Dockerizing a Spring Boot Application

preview_player
Показать описание
We will show how easy it is to dockerize and existing spring boot application by using the maven build. We will then launch several containers using this docker image.
Here is the source code at github:
Рекомендации по теме
Комментарии
Автор

If you don't find the .jar file inside docker folder, in the pom.xml, change the tag to <packaging>jar</packaging> and execute a mvn clean package docker:build
Worked for me ;)

RaphaTorres
Автор

To the point, simple and straightforward demonstration! Thanks!

nandk
Автор

bruh. your mic is nice af. I just opened this video and boom, i already liked the video.

jayasurya
Автор

The tutorial is really nice. Thanks for uploading it. Please continue such kind of initiative.

jibandeepbal
Автор

Thanks so much for this video! You went straight to the point!

test
Автор

Can you help -how to install cs cart using docker?

pragatisalunke
Автор

It gave me error while creating docker image. I added version <version>1.0.0</version> in spotify plugin (in pom.xml) and maven build successfully. I did get Dockerfile but did not find demo-0.0.1-SNAPSHOT.jar file inside target/docker directory. P.S. I am on Mac.

msohan
Автор

I am a beginner and I don't know how to obtain the jar file you used in entryPoint

croftw
Автор

I'm always getting "Unable to find image locally" when I want to start a container. Do you know how can I fix this?

Ascenax
Автор

Build failure any help ? pom.xml" could not be activated because it does not exist

mustfaibro
Автор

I also get the sam Errors. "pom.xml could not be activated because it does not exists". Anybody has a solution for this error?

jackswolows
Автор

do i need to download "docker" software first?

ccyjylh