#Cant reach ghcr.io with docker install

1 messages · Page 1 of 1 (latest)

brittle birch
#

I get a timeout error. Can anyone help?

plain bridge
brittle birch
#

no idea why its trying to contact 127.0.0.53

plain bridge
#

Please run this

sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf

Then try again.

#

Or add it manually there to preserve the search domain.

brittle birch
#

i have tailscale installed

#

it shouldnt break if i do this right

plain bridge
#

No. It seems misconfigured anyways.

#

Let's halt for a moment and check systemctl status systemd-resolved.

brittle birch
#

sure

plain bridge
#

What does resolvectl status say?

brittle birch
plain bridge
#

And cat /etc/systemd/resolved.conf?

brittle birch
#

apparently no such file

plain bridge
#

That's strange.

#

So basically 127.0.0.53 is the stub listener for system-resolved and it uses your tailscale ip to resolve things.

brittle birch
#

/etc/systemd/ has 3 folders in it: network system and user

plain bridge
#

But the ip it uses is strange.

brittle birch
#

i think this is some fedora stuff

#

yeah resolved.conf isnt in any of those folders

plain bridge
#

I'm not sure why it uses 100.100.1.1.

brittle birch
#

im not incredibly familiar with tailscale, i just use it because its convenient
i think if i temporarily remove the nameserver from tailscale and install homeassist then put it back it should be fine

plain bridge
#

Try

nano /etc/systemd/resolved.conf

And make it look like this

[Resolve]
DNS=8.8.8.8

Then run systemctl restart systemd-resolved and check resolvectl status again.
Apply sudo as needed.

brittle birch
#

ill do that but also i found this

#

if i stick 8.8.8.8 in here i think its fine

plain bridge
#

You can try. You know all the commands/files now to test/verify 🙂

brittle birch
#

xd yeah

#

seems to work if i add 8.8.8.8 in there

#

although its like the third server it tries

#

let me see if docker works now

#

thank you!

plain bridge
#

I still don't have a clue what this ip is

brittle birch
#

enp2s0, isnt that some adapter in hardware maybe?

#

ive never configured any network stuff except for tailscale. its pretty much a default install of fedora server

plain bridge
brittle birch
#

yeah the file is there

#

i would show you an ls but its kinda installing the container rn

#

here

plain bridge
brittle birch
#

i'll look into it

#

anyways, thanks for the help