question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building docker image of spring boot

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:53 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
nithinkotacommented, Jan 10, 2020

@chanseokoh Thank you so much.Please tell me once it is done.I will try to do this in another machine.

0reactions
nithinkotacommented, Feb 3, 2020

@chanseokoh Thank you so much for your help

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found