![]() That's not a terrible issue, but it's extremely annoying, so I would appreciate a solution and an explanation as to why this is happening since I've not a single clue on what is causing this behaviour. I was able to confirm that this is indeed because of docker because if I stop wsl and start it again, everything works just fine until I start docker again. Please make sure you have the correct access rights But, whenever I start my docker service on WSL (using sudo service docker start), out of sudden, whenever I try git clone, git pull or any git command, I'm getting the following message: ssh: Could not resolve hostname : Temporary failure in name resolutionįatal: Could not read from remote repository. ![]() Right now, if I start WSL and try cloning a new repository, nothing out of the ordinary happens. 1 This question already has answers here : Error message 'sudo: unable to resolve host (none)' (20 answers) Closed 7 years ago. W: Some index files failed to download.I'm currently running Ubuntu on a WSL2, I have a couple of repos I cloned with my ssh key (which is valid as I registered it on Azure as I'm using Azure Repos). The administrator should check that the specified hostname matches the output from the hostname command and cross-check against the content of the /etc/hosts. W: Failed to fetch Something wicked happened resolving ':80' (-5 - No address associated with hostname) server 0. server 1. server 2. server 3. change yours to this and do it as root (sudo -i) service ntp stop do the changes: service ntp start test it. W: Failed to fetch Something wicked happened resolving ':80' (-5 - No address associated with hostname) Something wicked happened resolving ':80' (-5 - No address associated with hostname) Operation (add) failed - address: Docker pull: operation not permitted. Something wicked happened resolving ':80' (-5 - No address associated with hostname) (Docker Desktop in Ubuntu not showing containers those are build with sudo. It could be the case that you are connecting to the Internet via a proxy so you should set up the proxies for apt-get by doing the following.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |