-
Notifications
You must be signed in to change notification settings - Fork 122
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
Docker for mac doesn't work on IPv6 network #1432
Comments
Thanks for your request for IPv6 support -- I've escalated it to the networking team. |
@djs55 Is there any progress in supporting ipv6? It's an actual blocker for us :( |
There's been a little progress -- I recently fixed a bug in the IPv6 support within the Mirage TCP/IP stack which is used inside Docker for Mac. I think the next task is to configure the router discovery in vpnkit |
Are you able to provide any update to this issue? |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
Are there any updates? |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
According to Google, IPv6 global usage has reached 25% (source: https://www.google.com/intl/en/ipv6/statistics.html?25%#tab=ipv6-adoption). |
/remove-lifecycle stale |
/lifecycle frozen |
Is still a big problem. Are there any news/plans on this issue? |
Workaround for a Docker bug: docker/for-mac#1432
Workaround for a Docker bug: docker/for-mac#1432
Cant believe apps still ignore ipv6 in 2020... ipv6 is not the future, its actually now. You can enable ipv6 on Docker on Linux... Why not mac? |
That was 2 years ago. It's now little over 31%. But some countries are close to, or passed 50%. |
I agree needing to have IPv6 for macOS is a needed for me here. |
It would be great if we have some comments from team members, what are the challenges to have IPv6 support? Is there any blocking? |
Any updates? |
[Docker for Mac doesn't support IPv6](docker/for-mac#1432), so this stops the probes trying and failing. Specifically, the HTTP probe for meet.google.com was failing. Why wasn't that falling back to IPv4 when the others were,? Dunno. But here we are.
up, when? |
For anyone looking for a more modern docker desktop experience with IPv6 support, OrbStack has worked great for me. |
+1000 to this. Faster. Can't tell a difference. |
Any updates? |
I think everyone here has moved to Orbstack.dev which provides (amongst other things) ipv6 out of the box - built by a single person, with impressive features and releases, performance and speed improvements. I literally dont know a single developer still using Docker Desktop for Mac. Even if Docker Desktop for Mac added ipv6 support today, I know I'll not be returning to use it. Unsubscribing this thread now also. |
any updates? |
Still no updates? 🙂 |
Please do not post "any updates?", it's not helping. |
Solved it by adding this at the beginning of docker-compose.yml:
|
We've been adding IPv6 support over the last several releases of Docker Desktop. The next release will have even better support. If you'd like to try a development build:
The new Settings / Resources / Network screen has new options: Dual stack v4/v6 is default, but you can switch to v4-only (if you have problems with partially-working v6 in your environment) or v6-only (it's the future) Note by default (to avoid breaking changes to containers) in dual stack v4/v6 environments, docker networks don't have v6 addresses. To fix that, do what @No0ne has suggested above in compose, or use |
What is the schedule for the official release? |
Hi @djs55 these links are no longer available, returning at 403, can we get new artefacts that are? |
I second the question to @djs55 — I could really use a release, even if experimental, with IPv6 support on MacOS. |
I reached out to Docker support and IPv6 is included in the latest 4.37.2 release, but behind a feature flag. Add the following to {
"IPv6": {
"enabled": true,
"label": "",
"name": ""
}
} And then restart Docker completely, not just the engine. IPv6 will then be available. |
I can confirm that this worked. |
Thanks, & IPv6 in Docker by default! Let's put IPv4 to bed, people! |
Adding solution for our use case in case someone runs into the same issue. Docker version: When using it with mac all requests took minimum 5s until IPv6 failed and used fallback to IPv4.
Managed to get it to work by Updating docker-compose.yml
nginx.conf
local host file
|
I applied the config shared on version 4.37.2 - which initially worked great, menu exposed itself with the V6 options, and I could run v6 containers. After upgrading to Sequoia (15.3) seems the new image broke the v6 fix, docker desktop won't even launch anymore. Anybody else facing this issue? |
Expected behavior
Docker for mac works on IPv6 network.
Actual behavior
Docker for mac doesn't work on IPv6 network.
Information
Documentation states: "IPv6 is not yet supported on Docker for Mac":
#704 links to some issues and there are many others mentioning IPv6, but all of them are closed like broken IPv6 is a normal state of affairs. This issue can be closed when either:
Steps to reproduce the behavior
ping6 google.com
in it.The text was updated successfully, but these errors were encountered: