I was encountering DNS issues with Docker containers orchestrated by DDEV earlier. Some hosts failed to resolve only within the container for some reason.
To fix it, I changed the following options in the `/etc/default/docker` file:
DOCKER_OPTS="--dns 184.108.40.206 --dns 220.127.116.11"
This helps override the DNS options for Docker containers. Afterwards restart the Docker service:
sudo service docker restart
This solved the problem for me. I found the solution on Stackoverflow.
Today I may have killed GitHub. Not really but it’s a funny coincidence.
I was working on something and after I committed my changes and pushing I noticed that the dev branch was ahead of my feature branch and there were now some merge conflicts.
I quickly rebased my feature branch but when trying to push the changes all of a sudden I got the following message:
“Weird”, I thought. I have gotten my pushes rejected before but not with this ominous “Internal Server Error” message. I thought I messed up something and GitHub couldn’t process my changes.
So I thought around and tried some other things, even reverting the other changes to force my rebase but nothing worked. I googled around and couldn’t quite find any answer until I took to everybody’s least favorite social media platform Twitter, saw that “GitHub” was trending and found this tweet. It wasn’t just me and GitHub had a partial outage.
How weird of a coincidence it is that this happens just as I want to push something. Today was also the day I moved a project with a full CI/CD pipeline to GitHub Actions for the first time. The stars just aligned, I guess.
I just ran into a weird error with WSL after moving a workspace around on a different machine and trying to run ddev.
failed to solve with frontend dockerfile.v0: failed to build LLB: failed to load cache key: rpc error: code = Unknown desc = error getting credentials - err: exec: “docker-credential-desktop.exe”: executable file not found in $PATH, out: ``
When trying to invoke the “docker-credential-desktop.exe” from WSL (by building a Docker image or trying to run ddev for example) I always got a “Invalid argument” error. After a bit of trying around I found this message on the Docker forums which actually fixed the problem for me.
Edit the ~/.docker/config.json file:
It should display something similar to this:
Change “credsStore” to “credStore” like this:
I have no idea why this works or why this is a thing, but I would like to preserve this solution here in case it happens to me again or somebody else runs into this same problem.
I was able to run ddev normally afterwards.