Try .cmd file extension suffix for credential helpers on Windows
See original GitHub issueOn Windows, gcloud auth configure-docker
generates the following section in ~/.docker/config.json
to specify that the cred helper is docker-credential-gcloud
.
"credHelpers": {
"gcr.io": "gcloud",
"us.gcr.io": "gcloud",
"eu.gcr.io": "gcloud",
"asia.gcr.io": "gcloud",
"staging-k8s.gcr.io": "gcloud"
},
The actual binary to run is docker-credential-gcloud.cmd
. Without .cmd
, Jib doesn’t seem able to run the binary.
[WARNING] The system does not have docker-credential-gcloud CLI
[WARNING] Caused by: Cannot run program "docker-credential-gcloud": CreateProcess error=2, The system cannot find the file specified
docker-compose
suffered from the same issue, and the workaround was to manually change gcloud
to gcloud.cmd
in ~/docker.config.json
. OTOH, apparently, Docker CLI has been working without .cmd
.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
cmdkey | Microsoft Learn
Reference article for the cmdkey command, which creates, lists, and deletes stored user names and passwords or credentials.
Read more >How to open a credential manager from CMD - Quora
CMD.exe is the executable file that opens the Command Prompt for use. Open the Windows search box and type 'CMD' and will give...
Read more >How to add file extension to the files which do not have an ...
I want to add them .html file extension using command prompt at once. All the files which have not extension end with ^...
Read more >windows - Establish a VPN connection in cmd - Stack Overflow
Now it will let you type the contents of the file, which should look ... can use rasdial.exe from command prompt to connect...
Read more >msls - GNU ls directory utility for Microsoft Windows - U-Tools
ls is a console utility that lists information on Windows files. It is based on the GNU/Linux ... To invoke ls simply type...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Confirmed that both of those flags work as expected:
great, thanks!