Skip to content

Fix Docker client API version compatibility#210

Merged
coryodaniel merged 1 commit intomainfrom
fix/docker-api-version-negotiation
Feb 13, 2026
Merged

Fix Docker client API version compatibility#210
coryodaniel merged 1 commit intomainfrom
fix/docker-api-version-negotiation

Conversation

@coryodaniel
Copy link
Member

@coryodaniel coryodaniel commented Feb 13, 2026

Summary

  • Replace hardcoded WithVersion("1.41") with WithAPIVersionNegotiation() in both Docker client initialization sites
  • Fixes client version 1.41 is too old. Minimum supported API version is 1.44 errors in build pipelines where Docker daemon v25+ has dropped support for API <1.44
  • WithAPIVersionNegotiation() automatically negotiates a compatible version, working with both older and newer Docker installations

Test plan

  • Verify mass image push works against Docker daemons v25+ (API ≥1.44)
  • Verify mass bundle dev server starts correctly
  • Confirm backwards compatibility with older Docker daemons

🤖 Generated with Claude Code

User prompts:
- "We are getting this bug in the CLI everywhere in build pipelines: Error: Error response from daemon: client version 1.41 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version"

Changes:
- Replace hardcoded WithVersion("1.41") with WithAPIVersionNegotiation() in Docker client initialization
- Updated in pkg/commands/image/docker_client.go (image build/push) and pkg/server/server.go (bundle builder server)
- WithAPIVersionNegotiation() automatically negotiates a compatible API version between client and daemon

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coryodaniel coryodaniel merged commit 3c2e8b9 into main Feb 13, 2026
3 of 4 checks passed
@coryodaniel coryodaniel deleted the fix/docker-api-version-negotiation branch February 13, 2026 19:01
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.

2 participants