Skip to content

cmd/docker: use Go 1.26 compatibility defaults - #7577

Open
tonistiigi wants to merge 1 commit into
docker:masterfrom
tonistiigi:enable-go126-defaults
Open

tonistiigi wants to merge 1 commit into
docker:masterfrom
tonistiigi:enable-go126-defaults

Conversation

@tonistiigi

Copy link
Copy Markdown
Member

Summary

GOPATH builds use Go 1.20 compatibility defaults even though vendor.mod specifies Go 1.26. Set the GODEBUG baseline in cmd/docker to match vendor.mod.

This enables the X25519MLKEM768, SecP256r1MLKEM768, and SecP384r1MLKEM1024 hybrid TLS key exchange groups by default.

Release notes (optional)

Enable hybrid post-quantum TLS key exchange by default for connections made by the Docker CLI.

A picture of a cute animal (not mandatory but encouraged)

GOPATH builds use Go 1.20 compatibility defaults even though
vendor.mod specifies Go 1.26. Set the GODEBUG baseline in cmd/docker
to match vendor.mod.

This enables the X25519MLKEM768, SecP256r1MLKEM768, and
SecP384r1MLKEM1024 hybrid TLS key exchange groups by default.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi added this to the 29.11.0 milestone Dec 5, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

@crazy-max

Copy link
Copy Markdown
Member

@thaJeztah Do you know the status to move to go modules? Don't think there are blockers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants