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

IPv6 support in Rancher Desktop #2062

Open
1 task done
gunamata opened this issue Apr 19, 2022 · 3 comments
Open
1 task done

IPv6 support in Rancher Desktop #2062

gunamata opened this issue Apr 19, 2022 · 3 comments
Labels

Comments

@gunamata
Copy link
Contributor

Problem Description

Rancher Desktop doesn't support IPv6 at present leading to problems using localhost for example.

Proposed Solution

Support IPV6

Additional Information

No response

Preflight Checklist

  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.
@gunamata gunamata added kind/enhancement New feature or request area/networking labels Apr 19, 2022
@jandubois
Copy link
Member

This should be implemented now by 1.6.0 for the moby backend.

containerd and kubernetes only forward to IPv4 right now and need to be updated.

@ngraef
Copy link

ngraef commented Apr 4, 2023

This should be implemented now by 1.6.0 for the moby backend.

@jandubois Could you expand on what you mean by that? Is that only within the container network, or would you expect port binding [::1] to work?

With docker run -p 8080:80 nginx, docker ps reports the container's ports as 0.0.0.0:8080->80/tcp, :::8080->80/tcp. curl -4 "http://127.0.0.1:8080" succeeds, but curl -6 "http://[::1]:8080" fails with error curl: (7) Failed to connect to ::1 port 8080 after 5 ms: Couldn't connect to server. I would expect both to work.

Explicitly binding to IPv6 also doesn't work. With docker run -p '[::1]:8080:80' nginx, docker ps shows the container's ports as ::1:8080->80/tcp. Interestingly, connecting to 127.0.0.1 still succeeds and [::1] still fails in this case.

Environment

  • macOS Ventura 13.3, Apple silicon
  • Rancher Desktop v1.8.1
    • Administrative Access enabled
    • moby container engine

@kbakba
Copy link

kbakba commented Mar 6, 2024

related issue in Docker Desktop docker/for-mac#1432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants