`docker-credential-gcloud` not in system PATH

后端 未结 10 1415
悲哀的现实
悲哀的现实 2020-12-14 14:38

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

10条回答
  •  隐瞒了意图╮
    2020-12-14 15:21

    Never found a way to directly resolve the docker-credential-gcloud issue, but the following got me up and running again. WARNING: the following will delete all your existing docker images and install a bunch of gcloud utilities:

    1. gcloud components install docker-credential-gcr,
    2. Restart the terminal completely
    3. docker-credential-gcr configure-docker.
    4. screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty

    5. umount /var/lib/docker/overlay2

    6. rm -rf /var/lib/docker
    7. Restart the terminal completely.

提交回复
热议问题