Commit Graph

12 Commits

Author SHA1 Message Date
Jacky
bfc1b21457 fix(docker): explicitly negotiate API version to ensure compatibility (#1543)
The Docker client SDK v28.5.2 defaults to API version 1.51, which may not
be supported by older Docker daemon versions. Although WithAPIVersionNegotiation()
is used, the manual Ping() call in initClient() does not trigger the automatic
version negotiation flow.

This fix explicitly calls NegotiateAPIVersionPing() with the ping response
to ensure the client uses a compatible API version with the Docker daemon.
This resolves the '404 Not Found for API route and version' error when
controlling Nginx in another Docker container.

Fixes #1543

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-02-06 22:45:08 +08:00
0xJacky
ccedb94880 chore: clean up codes 2025-10-03 14:33:07 +08:00
Jacky
563d344252 fix(docker): [ota] update entrypoint for container creation 2025-05-03 09:59:16 +00:00
Jacky
123dd83b51 fix(docker): [ota] stop old container 2025-05-03 09:30:14 +00:00
Jacky
1f561a0dba fix(docker): update command for temp container 2025-05-03 09:12:01 +00:00
Jacky
6099b72f2a fix(docker): [ota] config of create temp container 2025-05-03 08:59:52 +00:00
Jacky
7b642eb12c fix(docker): get container id by /proc/self/mountinfo 2025-05-03 08:51:03 +00:00
Jacky
e8ee931e16 feat: mcp server 2025-04-29 17:41:09 +08:00
Jacky
ff7f2e4f73 feat(ota): enhance Docker upgrade process with progress tracking 2025-04-21 13:57:49 +00:00
Jacky
d0cf93d5e3 refactor: replace upgrader with version package for runtime and release information 2025-04-21 08:06:27 +00:00
Jacky
e2c43be24a feat(ota): upgrade container 2025-04-21 06:20:15 +00:00
Jacky
d4a4ed1e1c feat(wip): docker ui only 2025-04-20 22:02:29 +08:00