-
Notifications
You must be signed in to change notification settings - Fork 371
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-in-docker feature breaks with Codespaces+Kind and docker v27+ (docker's ipv6 breaking changes) #1023
Comments
Hi 👋 Thanks for raising this issue, this seems important to fix so that we can avoid pining to older docker version. @gauravsaini04 Can you help with the fix? Suggestion:
|
Have created pr for it here. |
Second method of creating a daemon.json file at /etc/docker location and then adding "ip6tables": <ip6tables_value> entry in it has been added to this pr |
PR #1068 raised earlier was merged to the codebase |
We have been using Visual Studio Code, GitHub Codespaces and the docker-in-docker feature with Kubernetes' kind project (https://kind.sigs.k8s.io/) for several years now.
Recently, with the release of docker version 27, things broke. When trying to use the kind command line utility to create a new kind cluster (i.e. launch the kind docker container which encapsulates a Kubernetes cluster) we get the following error:
The issue is I think related to this change by docker:
https://docs.docker.com/engine/release-notes/27.0/#ipv6
I think what is needed is the ability to do this from the release notes:
Temporarily, I am able to get things working again with the following feature configuration in our devcontainer.json:
Is it possible to extend the feature with an option to disable
ip6tables
and/or to pass in additional command line options to the launch of docker?The text was updated successfully, but these errors were encountered: