Building docker image of spring boot
See original GitHub issueI have logged in to docker hub through command prompt using docker login
.
Now I am trying to generate and push image to docker hub using command gradlew jib --image=demo:0.0.1-SNAPSHOT
.I am getting error
Task :jib FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jib'.
> com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: Build
image failed, perhaps you should make sure your credentials for 'demo:0.0.1-SNAP
SHOT' are set up correctly.
Issue Analytics
- State:
- Created 4 years ago
- Comments:53 (24 by maintainers)
Top Results From Across the Web
Getting Started | Spring Boot with Docker
This command builds an image and tags it as springio/gs-spring-boot-docker . This Dockerfile is very simple, but it is all you need to...
Read more >Creating Docker Images with Spring Boot - Baeldung
Creating Docker Images with Spring Boot · Buildpacks are a tool that provides framework and application dependencies. · For these reasons, Spring ...
Read more >Create Docker Image for Spring Boot Application - CodeJava.net
A step-by-step guide to create, build, run and share Docker image for Spring Boot application.
Read more >Spring Boot - Creating Docker Image - Tutorialspoint
To build a Docker image by using Gradle build configuration, we need to add the docker plugin and need to write a task...
Read more >9 Tips for Containerizing Your Spring Boot Code - Docker
Containerizing a Spring Boot application is easy. You can do this by copying the .jar or .war file right into a JDK base...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@chanseokoh Thank you so much.Please tell me once it is done.I will try to do this in another machine.
@chanseokoh Thank you so much for your help