-
Notifications
You must be signed in to change notification settings - Fork 289
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
Failed to fetch builder image from Google Repository without installing "docker-credential-gcloud" #728
Comments
|
This probably means that |
it returns
i don’t use anything else i am missing ? |
In your case, you are using a builder which is located on Would you be able to see whether you have gcloud configured in my $HOME/.docker/config.json? |
yes i can see the gcr.io stuff in the configs , below is the content from that file.
|
Similar issue as of @SyedAsimAliSE, same |
That would make sense then. Assumedly at some point you had |
Thank you for the link, it worked after installing the sdk. |
Summary
When trying to build with image hosted in Google Container Registry it throws error:
failed to fetch builder image 'gcr.io/paketo-buildpacks/builder:tiny': error getting credentials - err: exec: "docker-credential-gcloud": executable file not found in $PATH, out:
Even when I downloaded the image using pull command it throws same error.
Why do we need
docker-credential-gcloud
for public images?Reproduction
Steps
docker-credential-gcloud
installedCurrent behavior
Throws error:
failed to fetch builder image 'gcr.io/paketo-buildpacks/builder:tiny': error getting credentials - err: exec: "docker-credential-gcloud": executable file not found in $PATH, out:
Expected behavior
Download and start building image
Environment
pack info
Pack:
Version: 0.11.2+git-063a80d.build-677
OS/Arch: darwin/amd64
Default Lifecycle Version: 0.7.5
Config:
(no config file found at /Users/ratnadeep/.pack/config.toml)
docker info
Client:
Debug Mode: false
Server:
Containers: 24
Running: 22
Paused: 0
Stopped: 2
Images: 16
Server Version: 19.03.8
Storage Driver: overlay2
Backing Filesystem:
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.19.76-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.944GiB
Name: docker-desktop
ID: G4FB:7DRL:BFKN:J3FT:PD4X:37JY:EZZL:PIU5:QORT:HMJU:JHXW:PDHE
Docker Root Dir: /var/lib/docker
Debug Mode: true
File Descriptors: 159
Goroutines: 143
System Time: 2020-07-02T12:19:22.845297323Z
EventsListeners: 3
HTTP Proxy: gateway.docker.internal:3128
HTTPS Proxy: gateway.docker.internal:3129
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine
The text was updated successfully, but these errors were encountered: