-
Notifications
You must be signed in to change notification settings - Fork 123
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
Error with docker-compose: docker-credential-desktop not installed or not available in PATH #3785
Comments
Where/how on earth can I install the
|
The files can be found under
For some reason the file was not linked in the |
I figured that maybe a reinstall would be in place here. So I proceeded to uninstalled the whole Docker-thing. Did not know that in order to download the latest Docker these days one needs to create a user account to Docker Hub. |
After furious account creating, downloading, installing and proxy-configuring the latest version of Docker was once again setup on my mac.
I thing the problem was (or is) that my installment of Docker dated back to times when it was called Docker Toolbox (and did not include the docker-credential-desktop). After several updates on top of one another, things started to turn south. Should I mark this as closed now? Should the Docker Desktop be fixed to include required links when updated on top of Docker Toolbox? |
Try including |
The uninstallation of Docker and re-installing the latest one fixed the problem, so I'm not anymore able to test this workaround. I think that the source of this problem was that the necessary links hadn't been created in the |
I seem to be running into the same issue. It looks like I had the same typo in Interestingly enough it does seem to be available on my path:
I also tried uninstalling and reinstalling docker for mac but that didn't seem to help. |
@sirviot thank you for your feedback. |
@ulrich I just tried running |
I had the same issue and noticed that there was a typo in the |
Indeed @Chinow has the right solution. Somehow there is a typo in that file. Note I am running Docker Desktop Version 2.0.0.3 (31259). |
I tried to find the misconfiguration in the config.json file. The file content under Docker Desktop stable/2.0.0.3 (31259) is: The file content under Docker Desktop stable/2.1.0.0 (36876) is: |
for me the fix was a combination of @Chinow's post and creating the link with the following command:
after that the issue was resolved. |
Thank you for your feedbacks all. We did investigate for finding the related issue for this trouble and we are working to improve the behavior of our migration tooling. I opened an issue in the Docker Desktop issues tracker for the next release stable/edge releases. |
What @ulrich says is in fact what just happened to me a few minutes ago. Still without solution. Exactly in the same situation as @JamesGuthrie posted here. Versions:
|
Downgrading is how I made it work.
|
In my case, this issue was likely the result of upgrading to Docker Desktop 2.1.0.0 and then downgrading back to 2.0.0.3. As @ulrich mentioned here, the two versions use different credsStore values: 2.1.0.0 comes with the Downgrading from 2.1.0.0 to 2.0.0.3 does not revert the changes in
|
2.1.0.1 seems to fix the problem for me. |
Yes, this is fixed in 2.1.0.1. |
Manually replacing the executable and running The executable was located in |
@Chinow's post is working from me. |
I have faced the same issue with docker desktop 2.1.0.3. In this version there is no typo in the |
The binary was missing for me too. This was a fresh install of Docker Toolbox using |
I had the same issue with docker-toolbox under Windows 10 (I am using the toolbox because I have to run VirtualBox for another project). The workaround I found:
Everything should work fine now :) |
I just got this issue after upgrading to 2.2.0.0, but I don't see any typos in my
I'm not sure if auths is supposed to be empty like that though. |
try to replace |
For me using docker-toolbox, changing to osxkeychain and linking it as gdemacedo said worked |
For all of those falling on this in 2020 I got this resolved by doing the total opposite of the above - I remove the |
Big thanks to @philippefutureboy as his solution solved my frustration (docker-toolbox, on Mac Mojave). |
I found the typo in my
(MacOS 10.15.4, Docker Desktop 2.3.0.2) |
Deleting config.json worked for me. Running docker in Windows and a WSL2 ubuntu environment. |
Hi, today is my first day into docker, i need to run some test using TestContainer. Also the install from eclipse of TestContainer is not working, some timeout. Only "docker pull localstack/localstack:0.9.4" from command line works properly. (MacOS 10.13.6, Docker Desktop 2.3.0.3, eclipse 202003) |
It worked for me by including "credsStore": "desktop" in ~/.docker/config.json. |
For me removing the old config file worked. docker logout
mv ~/.docker/config.json ~/.docker/config_old.json
docker login |
☝️ this approach fixed it for me as well, thanks @sshniro. ✌️ |
this is the solution for WSL2 case |
Works for me too |
Deleting config.json worked for me. |
Signing out of Docker Hub in the app seems to have solved the issue for me... I also changed to Mac OS Catalina 10.15.6 |
I use WSL ubuntu, and install docker desktop in windows 10. |
The problem resolved after running the following command: |
did the same thing as @mike-boost on windows 10 with wsl. Everything ran fine from powershell, but not from within WSL. |
Solution: * test ledger device manually on windows with the binary build by the goreleaser , it works fine. * integration test can not run on windows for the following reason: * nix does not support the windows platform * supervisor does not work fine on windows in my test * Currently, [WSL does not have USB pass-through access](microsoft/WSL#5158), so can't use ledger device on WSL. * integration test works fine on windows WSL 2, if get an error like `docker-credential-desktop.exe not installed or not available in PATH`, see [here](docker/for-mac#3785) * can not expose the container's port outside using the host network mode on WSL 2, so change to container link mode.
I ran into the same problem in Windows 10 WSL 2 integration docker-desktop for windows. |
It may be worth mentioning that this is happening regularly in WSL 2, and needs to be re-done occasionally. Hopefully a permanent solution is found soon. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Cannot start containers any more after update. I don't know how the error
docker-credential-desktop not installed or not available in PATH
should be fixed.I tried to remove the whole
~/.docker
directory and restart the Docker Desktop, but it didn't help.Expected behavior
Should start to build image and start a container with
docker-compose up
Actual behavior
Starts the build but fails
Information
Problems started after updating
The text was updated successfully, but these errors were encountered: