Deploy on docker fails but logfile doesn't show any information

I am trying to deploy a Spring boot web service using a Dockerfile.

However my deploy fails without any information. I am happy to debug the problem myself, but that’s not really possible without logs.

This is the tail of the log:

Downloaded from central: https://repo.maven.apache.org/maven2/com/google/guava/guava/28.2-android/guava-28.2-android.jar (2.6 MB at 7.4 MB/s)
Jan 19 06:53:41 PM  #14 18.38 [INFO] Replacing main artifact with repackaged archive
Jan 19 06:53:41 PM  #14 18.38 [INFO] ------------------------------------------------------------------------
Jan 19 06:53:41 PM  #14 18.38 [INFO] BUILD SUCCESS
Jan 19 06:53:41 PM  #14 18.38 [INFO] ------------------------------------------------------------------------
Jan 19 06:53:41 PM  #14 18.39 [INFO] Total time:  16.902 s
Jan 19 06:53:41 PM  #14 18.39 [INFO] Finished at: 2023-01-19T17:53:41Z
Jan 19 06:53:41 PM  #14 18.39 [INFO] ------------------------------------------------------------------------
Jan 19 06:53:41 PM  #14 DONE 18.5s
Jan 19 06:53:42 PM  
Jan 19 06:53:42 PM  #15 [stage-1 3/3] COPY --from=build /app/target/*.jar app.jar
Jan 19 06:53:42 PM  #15 DONE 0.1s
Jan 19 06:53:42 PM  
Jan 19 06:53:42 PM  #16 exporting to oci image format
Jan 19 06:53:42 PM  #16 exporting layers
Jan 19 06:53:43 PM  #16 exporting layers 1.8s done
Jan 19 06:53:43 PM  #16 exporting manifest sha256:d3c130a00a5cb747e550f9b4ebb1c3bacc07c355d7278c2cb8d592548ecafd9b done
Jan 19 06:53:43 PM  #16 exporting config sha256:39660ed63ecb690d783a7c4b1fad62393ee5b95799d02304c942ce7454443e53 done
Jan 19 06:53:49 PM  #16 DONE 7.4s
Jan 19 06:53:49 PM  
Jan 19 06:53:49 PM  #17 exporting cache
Jan 19 06:53:49 PM  #17 preparing build cache for export
Jan 19 06:54:03 PM  #17 DONE 13.6s
Jan 19 06:54:04 PM  Pushing image to registry...
Jan 19 06:54:14 PM  Upload succeeded
Jan 19 06:54:14 PM  DONE

Nothing after this :frowning:

Do you have any suggestions on how to figure out what’s going wrong?

After I cleared my cache and redeployed my application went live. So my problem is solved.

I do recommend taking a look into the logging, because I noticed that often some information is missing.

Have a good one.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.