fix: docker-in-docker on Ubuntu 26.04 — verify iptables-legacy works before switching#1637
Open
fix: docker-in-docker on Ubuntu 26.04 — verify iptables-legacy works before switching#1637
Conversation
…before switching, falling back to iptables-nft Agent-Logs-Url: https://github.com/devcontainers/features/sessions/af4f00a5-8bfc-472b-97e3-735ddf7a07c1 Co-authored-by: Kaniska244 <186041440+Kaniska244@users.noreply.github.com>
Agent-Logs-Url: https://github.com/devcontainers/features/sessions/af4f00a5-8bfc-472b-97e3-735ddf7a07c1 Co-authored-by: Kaniska244 <186041440+Kaniska244@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix docker-in-docker feature on Ubuntu 26.04
fix: docker-in-docker on Ubuntu 26.04 — verify iptables-legacy works before switching
May 5, 2026
Kaniska244
requested changes
May 5, 2026
Contributor
Kaniska244
left a comment
There was a problem hiding this comment.
@copilot Why assuming ubuntu-26.04 is plucky, shouldn't it be resolute?
Agent-Logs-Url: https://github.com/devcontainers/features/sessions/60277e16-b948-4f67-8140-1d3f1cda6941 Co-authored-by: Kaniska244 <186041440+Kaniska244@users.noreply.github.com>
Contributor
Author
Kaniska244
requested changes
May 5, 2026
Contributor
Kaniska244
left a comment
There was a problem hiding this comment.
@copilot Do a minor version bump of the feature as well
Agent-Logs-Url: https://github.com/devcontainers/features/sessions/f340a34b-66fa-45bd-85f2-94b32c943241 Co-authored-by: Kaniska244 <186041440+Kaniska244@users.noreply.github.com>
Contributor
Author
Kaniska244
requested changes
May 5, 2026
Contributor
Kaniska244
left a comment
There was a problem hiding this comment.
@copilot Set moby: false for resolute test. As of now, moby isn't supported by ubuntu resolute.
Agent-Logs-Url: https://github.com/devcontainers/features/sessions/ce62c78c-ff28-4766-bd7f-2b5a57a349ec Co-authored-by: Kaniska244 <186041440+Kaniska244@users.noreply.github.com>
Contributor
Author
Contributor
|
@copilot Note down this exceptional behavior for ubuntu resolute in the feature documentation. |
Agent-Logs-Url: https://github.com/devcontainers/features/sessions/8983ff12-365e-49de-bd65-47614caf8539 Co-authored-by: Kaniska244 <186041440+Kaniska244@users.noreply.github.com>
Contributor
Author
Added a note in |
Kaniska244
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docker daemon fails to start on Ubuntu 26.04 (resolute) because the kernel no longer supports legacy iptables NAT tables. The install script was unconditionally switching to
iptables-legacywhenever the binary existed, regardless of kernel support.Changes
iptables-legacyactually works (-nLprobe) before switching to it; fall back toiptables-nftif legacy fails:resolutecodename toDOCKER_MOBY_ARCHIVE_VERSION_CODENAMESandDOCKER_LICENSED_ARCHIVE_VERSION_CODENAMESdocker_build_ubuntu_resolutetargetingubuntu:resolutewithmoby: false(moby is not yet supported on Ubuntu resolute)2.16.1→2.17.0indevcontainer-feature.json