Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install on Windows 10 - Network Unreachable to pull image #6579

Closed
riom-kr opened this issue Mar 6, 2024 · 4 comments
Closed

Install on Windows 10 - Network Unreachable to pull image #6579

riom-kr opened this issue Mar 6, 2024 · 4 comments
Labels
area/networking area/wsl WSL integration kind/bug Something isn't working platform/windows

Comments

@riom-kr
Copy link

riom-kr commented Mar 6, 2024

Actual Behavior

Consider the sample Docker App at https://docs.docker.com/get-started/02_our_app/
When I run

docker build -t getting-started .

I get

λ docker build -t getting-started .
[+] Building 0.0s (3/3) FINISHED                                                                                                                                                                                               docker:default  => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s  => => transferring dockerfile: 154B                                                                                                                                                                                                     0.0s  => [internal] load .dockerignore                                                                                                                                                                                                        0.0s  => => transferring context: 2B                                                                                                                                                                                                          0.0s  => ERROR [internal] load metadata for docker.io/library/node:18-alpine                                                                                                                                                                  0.0s ------
 > [internal] load metadata for docker.io/library/node:18-alpine:
------
Dockerfile:1
--------------------
   1 | >>> FROM node:18-alpine
   2 |     WORKDIR /app
   3 |     COPY . .
--------------------
ERROR: failed to solve: node:18-alpine: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/18-alpine": dial tcp: lookup registry-1.docker.io on 172.29.177.38:53: dial udp 172.29.177.38:53: connect: network is unreachable

Steps to Reproduce

  • Install the Rancher.Desktop.Setup.1.12.3.msi package on Windows 10, that already had WSL installed. I am running behind Zscaler.
  • Download the sample code from https://docs.docker.com/get-started/02_our_app/
  • After cding into the directory do

docker build -t getting-started .

Result

λ docker build -t getting-started .
[+] Building 0.0s (3/3) FINISHED                                                                                                                                                                                               docker:default  => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s  => => transferring dockerfile: 154B                                                                                                                                                                                                     0.0s  => [internal] load .dockerignore                                                                                                                                                                                                        0.0s  => => transferring context: 2B                                                                                                                                                                                                          0.0s  => ERROR [internal] load metadata for docker.io/library/node:18-alpine                                                                                                                                                                  0.0s ------
 > [internal] load metadata for docker.io/library/node:18-alpine:
------
Dockerfile:1
--------------------
   1 | >>> FROM node:18-alpine
   2 |     WORKDIR /app
   3 |     COPY . .
--------------------
ERROR: failed to solve: node:18-alpine: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/18-alpine": dial tcp: lookup registry-1.docker.io on 172.29.177.38:53: dial udp 172.29.177.38:53: connect: network is unreachable

Expected Behavior

Not give an error

Additional Information

No response

Rancher Desktop Version

1.12.3

Rancher Desktop K8s Version

1.12.3

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

Windows 10 - OS Build 19045.4046

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

I'm behind a Zscaler, but no proxy and I can get a curl from the command line to work without any issues.

@riom-kr riom-kr added the kind/bug Something isn't working label Mar 6, 2024
@Nino-K
Copy link
Member

Nino-K commented Mar 8, 2024

Have you tried enabling the network tunnel, under preferences -> WSL -> Network -> Network Tunnel?

@riom-kr
Copy link
Author

riom-kr commented Mar 12, 2024

Yes, I have done that. Once I do it, the Update to the Kubeconfig takes forever i.e. 10+ hours.

@riom-kr
Copy link
Author

riom-kr commented Mar 13, 2024

For what it's worth, I've added the
logs.zip from my attempts at installing the latest Rancher.Desktop.Setup.1.12.3.msi package on Windows 10. I also have the Enable networking tunnel in the WSL Preferences turned on. I get a number of messages at the bottom, but the one that it hangs on is Updating kubeconfig - this takes forever i.e. more than an hour for sure.

@Nino-K
Copy link
Member

Nino-K commented May 14, 2024

I looked at the logs and all I can suggest is can you factory-reset and try agian. Also, it would be great if you can upgrade to 1.13.1. I'm going to close this issue, feel free to re-open if you encouter anything further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking area/wsl WSL integration kind/bug Something isn't working platform/windows
Projects
None yet
Development

No branches or pull requests

2 participants