SIGN IN SIGN UP
docker / compose UNCLAIMED

Define and run multi-container applications with Docker

0 0 63 Go

refactor: merge RuntimeVersion and CurrentAPIVersion into RuntimeAPIVersion

After API negotiation, Compose should only rely on the negotiated version
and never use the daemon's raw max version for request shaping. Merge both
functions into a single RuntimeAPIVersion that negotiates via Ping and
returns ClientVersion, erroring if the client reports an empty version
instead of silently falling back to ServerVersion.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
G
Guillaume Lours committed
9cab43945a5ad651190ce5ec9800f449f489b5f6
Parent: ef83685
Committed by Nicolas De loof <nicolas.deloof@gmail.com> on 3/31/2026, 12:39:37 PM