This message was deleted.
# rancher-desktop
a
This message was deleted.
r
Hi, "Application Settings" is available only on macOS and Linux. On Windows, the supporting utilities(nerdctl, helm, kubectl etc) path is added to PATH environment variable by default.
👍 2
c
ok. so next I was struggling with
$ nerdctl pull --address /var/run/docker/containerd/containerd.sock nginx:latest
I keep getting i/o timeout error:
Copy code
<http://docker.io/library/nginx:latest|docker.io/library/nginx:latest>: resolving      |--------------------------------------|
elapsed: 9.9 s                  total:   0.0 B (0.0 B/s)
INFO[0010] trying next host                              error="failed to do request: Head \"<https://registry-1>.
<http://docker.io/v2/library/nginx/manifests/latest\|docker.io/v2/library/nginx/manifests/latest\>": dial tcp: lookup <http://registry-1.docker.io|registry-1.docker.io> on 172.24.110.94:53: read u
dp 172.24.110.94:40189->172.24.110.94:53: i/o timeout" host=<http://registry-1.docker.io|registry-1.docker.io>
ERRO[0010] active check failed                           error="context canceled"
FATA[0010] failed to resolve reference "<http://docker.io/library/nginx:latest|docker.io/library/nginx:latest>": failed to do request: Head "<https://reg>
<http://istry-1.docker.io/v2/library/nginx/manifests/latest|istry-1.docker.io/v2/library/nginx/manifests/latest>": dial tcp: lookup <http://registry-1.docker.io|registry-1.docker.io> on 172.24.110.94:53:
 read udp 172.24.110.94:40189->172.24.110.94:53: i/o timeout
I'm a total noob. I've used WSL for a while but this stuff is baffling
should I jump back to the #general channel?
c
I assume you are running this on the host machine?
nerdctl pull --address /var/run/docker/containerd/containerd.sock nginx:latest
c
nah...noob. lemme try that
c
can you try
nerdctl pull nginx:latest
without including the socket address.
c
same in powershell
Copy code
PS C:\dev> nerdctl pull nginx:latest
FATA[0000] cannot access containerd socket "/run/k3s/containerd/containerd.sock" (hint: try running with `--address /var/run/docker/containerd/containerd.sock` to connect to Docker-managed containerd): no such file or directory
c
which backend are you using?
you can choose to use between “Moby” and “containerd”
c
not sure what you mean. Win10 WSL2 Rancher Desktop 1.4
for local dev
oh, didn't see that last statement @calm-sugar-3169 let me try thx
right now I'm using moby and CAN change to containerd lemme try switching?
c
sure, try switching
I believe nrdctl can’t work with moby runtime
c
:me embarrassed
😊 2
c
Nothing to worry at all, we are just glad that you are giving Rancher Desktop a try 🙂
🙌 1
c
switch to containerd did not change the result
c
can you try to exit the RD and restart it?
c
yes
c
Just to make sure that we are not looking at a bug here, are you able to factory reset and when you get the initial prompt choose containerd runtime?
c
restarted Powershell (as admin) and RD
Copy code
PS C:\dev> nerdctl pull nginx:latest                                                                                                                                                                             /usr/local/bin/docker-credential-rancher-desktop: source: line 5: can't open '/etc/rancher/desktop/credfwd': No such file or directory                                                                           WARN[0000] cannot get auth config for authConfigHostname="<http://index.docker.io|index.docker.io>" (refHostname="<http://docker.io|docker.io>")  error="error getting credentials - err: exit status 2, out: ``"                                            /usr/local/bin/docker-credential-rancher-desktop: source: line 5: can't open '/etc/rancher/desktop/credfwd': No such file or directory                                                                           WARN[0000] cannot get auth config for authConfigHostname="<http://docker.io|docker.io>" (refHostname="<http://docker.io|docker.io>")  error="error getting credentials - err: exit status 2, out: ``"                                                  <http://docker.io/library/nginx:latest|docker.io/library/nginx:latest>: resolving      |--------------------------------------|                                                                                                                          elapsed: 9.9 s                  total:   0.0 B (0.0 B/s)                                                                                                                                                         INFO[0010] trying next host                              error="failed to do request: Head \"<https://registry-1.docker.io/v2/library/nginx/manifests/latest>\": dial tcp: lookup <http://registry-1.docker.io|registry-1.docker.io> on 172.24.110.94:53: read udp 172.24.110.94:53930->172.24.110.94:53: i/o timeout" host=<http://registry-1.docker.io|registry-1.docker.io>                                                                                                                  FATA[0010] failed to resolve reference "<http://docker.io/library/nginx:latest|docker.io/library/nginx:latest>": failed to do request: Head "<https://registry-1.docker.io/v2/library/nginx/manifests/latest>": dial tcp: lookup <http://registry-1.docker.io|registry-1.docker.io> on 172.24.110.94:53: read udp 172.24.110.94:53930->172.24.110.94:53: i/o timeout
c
you can access the factory reset under troubleshooting tab
c
yes
c
btw, the second error is todo with credentials, maybe wrong creds?
c
shouldn't I be able to do a hello-world without creds?
assuming creds are for docker.io
👍 1
I'll make sure I have an account and then, should I be able to do
docker login'
just by installing RD? (factory reset and download almost done)
c
ok, lets just try the factory reset. Because the creds shouldn’t be necessary I just pointed it out because I saw the error above
c
k
it's starting wsl
...kubernetes
taking a lot longer this time. maybe that's a good sign... 'waiting for services...'
meh, seems hung up on something
hah! disconnected my vpn. it's done
same timeout
so, my vpn client was blocking the start of services, maybe but then, after factory reset and disabled vpn client, same problem
r
May be it's because you are trying in a privileged power shell. It looks like there's a know issue with using nerdctl in a privileged powershell.. Can you please try in a non admin powershell please?
c
oh!. yeah...
no dice
w
hey so long thread, but looked like the original issue was DNS (:53 fail). Likely you have some firewall issue, but I would give the experimentalHostResolver a go
2433 Views