Skip to content

Docker provider failed on version 29 #240

@khanton

Description

@khanton

Issue is like issue: #171

System info:

khanton@lift:/opt/liftganza$ docker version
Client: Docker Engine - Community
 Version:           29.1.3
 API version:       1.52
 Go version:        go1.25.5
 Git commit:        f52814d
 Built:             Fri Dec 12 14:49:32 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          29.1.3
  API version:      1.52 (minimum version 1.44)
  Go version:       go1.25.5
  Git commit:       fbf3ed2
  Built:            Fri Dec 12 14:49:32 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v2.2.1
  GitCommit:        dea7da592f5d1d2b7755e3a161be07f43fad8f75
 runc:
  Version:          1.3.4
  GitCommit:        v1.3.4-0-gd6d73eb8
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Steps to reproduce:

docker run --rm -e DOCKER_ENABLED=true \
  -v /var/run/docker.sock:/var/run/docker.sock:ro \
  umputun/reproxy:master

Error:

reproxy master-e264a6e-20251211T09:10:10
2026/01/02 18:37:47.484 [INFO]  activate http proxy server on 0.0.0.0:8080
2026/01/02 18:37:47.485 [ERROR] failed to fetch running containers: can't list containers: unexpected error from docker daemon: client version 1.24 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version

Reason:

khanton@lift:/opt/liftganza$ curl --unix-socket /var/run/docker.sock http:/localhost/v1.25/containers/json
{"message":"client version 1.25 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version"}

Solution:

like #171 fix api version. Update version in line:

const APIVersion = "v1.22"

to:

const APIVersion = "v1.44"

or maybe add api version to the config like in this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions