After the latest updates to gcloud and docker I'm unable to access images on my google container repository. Locally when I run: gcloud auth configure-docker
as per the instructions after updating gcloud, I get the following message:
WARNING: `docker-credential-gcloud` not in system PATH.
gcloud's Docker credential helper can be configured but it will not work until this is corrected.
gcloud credential helpers already registered correctly.
Running which docker-credential-gcloud
returns docker-credential-gcloud not found
.
I have no other gcloud-related path issues and for the life of me can't figure out how to install/add docker-credential-gcloud to path. Here's what I have installed (shown via gcloud version
):
Google Cloud SDK 197.0.0
beta 2017.09.15
bq 2.0.31
container-builder-local
core 2018.04.06
docker-credential-gcr
gsutil 4.30
I also have Docker CE Version 18.03.0-ce-mac60 (23751).
Here's my $PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I also ran source /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc
on original gcloud install.
gcloud
?docker-credential-gcloud
should normally be co-located withgcloud
itself within the same folder on your path. – jsanddocker-credential-gcr
, you can continue using it instead, presumingdocker-credential-gcr configure-docker
works without incident... – jsanddocker-credential-gcr
becausedocker-credential-gcloud
wasn't co-located with gcloud. Still interested in an answer to how to fix that... – ZaxRdocker-credential-gcr
was giving you errors because the gcloud SDK's bin directory got wiped out during your re-install. – jsand