spurin / diveintoansible-lab

Dive Into Ansible Lab
775 stars 494 forks source link

Cloud Shell Editor Error #109

Closed shorn89 closed 2 months ago

shorn89 commented 1 year ago

Hello again,

So after my failures with the command prompt and docker, I saw there is another way to try to follow along with the course; using the cloud shell with a Google account.

So I attempted to setup the cloud shell environment, but when I get to the third command "cd ${HOME}/diveintoansible-lab; \ bin/docker-compose up \ --quiet-pull"

I get the following error: "Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 169.254.169.254:53: no such host"

Please help! I just want to get this up and working so I can complete this course lol

Cloud Shell Error

spurin commented 1 year ago

Can you restart your Cloudshell environment and give it a courtesy 30 seconds or so just before you start the commands?

Looking online, it can occasionally happen as a race condition with Docker desktop starting and I think this unfortunate circumstance in this instance (possibly a roll of the dice with the virtual machine you've ended up on)

Please let me know how you get on and also, I think it's worth trying the Docker login against your local instance 👍

spurin commented 2 months ago

THis was an adhoc error, haven't seen this for a long time now. Closing :-)