Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jib tool #44

Open
khuongln-1346 opened this issue Nov 2, 2023 · 1 comment
Open

Add jib tool #44

khuongln-1346 opened this issue Nov 2, 2023 · 1 comment
Assignees

Comments

@khuongln-1346
Copy link
Contributor

Jib: https://github.com/GoogleContainerTools/jib

@khuongln-1346
Copy link
Contributor Author

When you got errors:

Containerizing application to Docker daemon as kotlin-web-spring-boot-3:0.0.1-SNAPSHOT...
Base image 'eclipse-temurin:17-jre-alpine' does not use a specific image digest - build may not be reproducible
The base image requires auth. Trying again for eclipse-temurin:17-jre-alpine...
The credential helper (docker-credential-desktop) has nothing for server URL: registry-1.docker.io

Got output:

credentials not found in native keychain

The credential helper (docker-credential-desktop) has nothing for server URL: registry.hub.docker.com

Got output:

credentials not found in native keychain

Using credentials from Docker config (C:\Users\lam.ngoc.khuong\.docker\config.json) for eclipse-temurin:17-jre-alpine
Executing tasks:
[============                  ] 40.0% complete
> building image to Docker daemon


> Task :jibDockerBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':jibDockerBuild'.
> com.google.cloud.tools.jib.plugins.common.BuildStepsExecutionException: Build to Docker daemon failed, perhaps you should make sure your credentials for 'registry-1.docker.io/library/eclipse-temurin' are set up correctly. See 
https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md#what-should-i-do-when-the-registry-responds-with-unauthorized for help

Run the command:

docker login registry-1.docker.io

@lamngockhuong lamngockhuong self-assigned this Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants