Spring Boot - Docker Image with the jar file using the Gradle Docker Plugin

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

thx a lot man. whole night surfing habr/stackoverflow led nowhere... ure my nervs' saviour

ПавелСапрыкин-уш
Автор

Nice Tutorial. You do that with passion :-)

Opey
Автор

Thanks man. Best explanation: Spring Boot>>Docker>>Gradle. Applause!

pmsawummah
Автор

very interesting, this will be another tool for my tool belt. thanks for the video.

JavierGomez-xlus
Автор

Thanks, my friend! Your are the best!

PrGabrielBorges
Автор

Subscribed good tutorial i will implement it on my springboot app

marypaul
Автор

hello, i have this error "no main manifest attribute, in /app.jar". any idea?

AlexanderUrquijo
Автор

Hi Mike,
Thanks for the video, followed the steps but getting the following error when I run gradle docker --info.
> Task :docker FAILED
Caching disabled for task ':docker' because:
Build cache is disabled
Task ':docker' is not up-to-date because:
Task has not declared any outputs despite executing actions.

sivakrishna_D
Автор

I got the image to build and run, but can't access the server instance running within the container (172.17.0.4:8080/results gets request timeout). Any thoughts?

mmingfeilam
Автор

Excellent video. Simple and at the same time very effective.
Just have one doubt.
Didn't understand the copySpec command and what "copySpec.from(jar)" does. What does jar means as a parameter there.
Thanks in advance.

animeshpandey
Автор

Am using java 11 how do i configure my project?Also do i have to download gradle and docker into my laptop for it to work?

marypaul
Автор

I keep getting this error :
"

> Task :docker FAILED
COPY failed: stat no such file or directory.



"


Im not sure as to what Im doing wrong

udayksaripella
Автор

Hi. Where do you initialise the "JAR_FILE" and it's value ?

erangafernando
Автор

$ docker run -it test1
no main manifest attribute, in /app.jar
🥲 I always have this in my actual project

enricocecchetti