`docker-credential-gcloud` not in system PATH

后端 未结 10 1416
悲哀的现实
悲哀的现实 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:03

    Just had the same issue on Windows, running Docker with Linux containers, Docker engine v19.03.8. Using docker compose. I do not use gcloud for my dockerfiles...

    DT1001 dockerpycreds.errors.InitializationError: docker-credential-gcloud not installed or not available in PATH

    1. Option 1: Edit the docker configuration file and remove all gcloud entries from there.

      • Windows c:/Users//.docker/config.json

      • Linux & MacOS ~/.docker/config.json

    2. Option 2: Go to Troubleshoot -> Reset to factory defaults.

    After this my docker compose was creating containers and running the images without any issues.

提交回复
热议问题