Skip to content

Backend crashes on Docker Desktop due to docker client API version mismatch #180

@Recongohan

Description

@Recongohan

Describe the bug

After signing up or logging in, the Docketeer backend crashes due to a Docker API version mismatch. Once the backend crashes, the frontend can no longer communicate with it and repeatedly shows proxy connection errors.

To Reproduce

Run docker compose up on a Windows machine using Docker Desktop

Open the app at http://localhost:4000

Sign up or log in

Backend crashes when executing docker commands and frontend starts showing connection errors

Expected behavior

The backend should remain running after login and successfully execute docker commands (for example docker ps) without crashing, allowing the frontend to function normally.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser :Chrome
  • Version: Latest

Smartphone (please complete the following information):

  • NA

Additional context

Docker environment details:

Docker Desktop: 4.56.0

Docker Engine: 29.1.3

Docker API version: 1.52 (minimum supported API 1.44)

Docketeer image: docketeerxiv/docketeer:14.0.0

Error response from daemon: client version 1.43 is too old. Minimum supported API version is 1.44
Command failed: docker ps -f "status=exited" --format "{{json .}},"
[nodemon] app crashed - waiting for file changes before starting...
Frontend then shows repeated ECONNREFUSED ::1:3003 errors.

This appears to be caused by the Docketeer container using an older docker client (API 1.43) while Docker Desktop requires API >= 1.44. Since Docketeer shells out to docker commands using the mounted docker.sock, the docker command fails and crashes the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions