-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
[docs] Update credsStore to Colima to avoid DDEV start errors #4790
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's easier to just delete ~/.docker. What do you think about that?
I'm glad you brought this up! |
I had completely uninstalled and removed docker desktop. It's possible that this directory was still on the system. Since I ran into this after installing docker with brew as part of setting it up with Colima it would be too late at that point to delete the the whole directory, wouldn't it? I assume it was a default value which wasn't set during the Colima set up process. It's likely a matter of hindsight. I want to assume that the user would like to keep the |
Yeah, Docker Desktop doesn't remove lots of things, and ~/.docker is one of them. I have never heard of anybody needing the contents of ~/.docker when switching away from Docker Desktop. Note that it's not necessary to uninstall Docker Desktop to use colima, and the docker client provided with Docker Desktop works fine with colima. So I think it would be useful to suggest removing ~/.docker/config.json if uninstalling Docker Desktop. |
Since we don’t know (or need to dictate) whether someone uninstalls Docker Desktop, wouldn’t it be best to recommend deleting |
The suggestion in Stack Overflow isn't even correct; you can't just change to I would recommend 1) Removing docker.json in case of trouble or 2) Remove the credsStore line. Why don't we just update this PR to say "Remove the credsStore line". |
Sounds more specific and accurate, so great AFAIK! |
Made the suggested changes. |
Co-authored-by: Matt Stein <m@ttste.in>
The Issue
When switching from Docker Desktop and installing colima and docker via homebrew, following this documentation here, I ran into the following issue when running
ddev start
on my project.DDev was still looking for a docker desktop file, despite it being fully uninstalled.
How This PR Solves The Issue
This PR updates documentation to provide a configuration tip when migrating from Docker Desktop to Colima.
The
.docker/config.json
should to be updated to:Manual Testing Instructions
PR does not change code; testing should follow the steps added to documentation for installation.
Automated Testing Overview
Related Issue Link(s)
https://stackoverflow.com/questions/67642620/docker-credential-desktop-not-installed-or-not-available-in-path#comment132716686_68202428
Release/Deployment Notes