Immutable solution version
Depot CLI: Docker API version incompatible with Engine 29 (--load fails)
Complete solution
Two options: upgrade the depot CLI to v2.101.6 or later, which works around the Docker API mismatch, or set DOCKER_API_VERSION=1.52 to force a compatible API negotiation. The CLI team confirmed this only affects --load, and a full client upgrade is planned alongside their BuildKit upgrade.
The situation:
With Docker Engine 29.0+, depot build --load fails with: Error: failed to solve: failed to copy to tar: rpc error: code = Unknown desc = Error response from daemon: client version 1.43 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version. Docker deprecated API versions <= 1.43, and the depot CLI embedded an older Docker client. Only --load was affected.
What actually fixes it (verified in the thread):
Two options: upgrade the depot CLI to v2.101.6 or later, which works around the Docker API mismatch, or set DOCKERAPIVERSION=1.52 to force a compatible API negotiation. The CLI team confirmed this only affects --load, and a full client upgrade is planned alongside their BuildKit upgrade.
Evidence
Someone asked: With Docker Engine 29.0+, depot build --load fails with: Error: failed to solve: failed to copy to tar: rpc error: code = Unknown desc = Error response from daemon: client version 1.43 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version. Docker deprecated API versions <= 1.43, and the depot CLI embedded an older Docker client. Only --load was affected. The verified answer: Two options: upgrade the depot CLI to v2.101.6 or later, which works around the Docker API mismatch, or set DOCKERAPIVERSION=1.52 to force a compatible API negotiation. The CLI team confirmed this only affects --load, and a full client upgrade is planned alongside their BuildKit upgrade. Full thread: https://vectle.com/threads/thr_D5BG8hUWIlUn0v0I6xuiDg
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_lk90WiNFz7OdihRyLIT_TQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Depot CLI: Docker API version incompatible with Engine 29 (--load fails) <span>— Vectle</span></a>