influxdata/telegraf

Update version API Docker Engine for plugin Docker

KnownMory opened this issue · 3 comments

Use Case

When setting up the docker plugin in telegraph I get an error.

"Error response from daemon: {"message":"client version 1.21 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version"}"

My current version docker:

Server: Docker Engine - Community
Engine:
Version: 27.3.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.7
Git commit: 41ca978
Built: Fri Sep 20 11:41:00 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.24
GitCommit: 88bf19b2105c8b17560993bee28a01ddc2f97182
runc:
Version: 1.2.2
GitCommit: v1.2.2-0-g7cb3632
docker-init:
Version: 0.19.0
GitCommit: de40ad0

Expected behavior

Successful data collection.

Actual behavior

Unsuccessful data collection.

Additional info

No response

Connection via "unix:///var/run/docker.sock"

I had the same issue with Telegraf 1.19. I upgraded to 1.31 and the problem was resolved.

I had the same issue with Telegraf 1.19. I upgraded to 1.31 and the problem was resolved.

Thanks!
It turned out that my repository didn't know the latest version. It wasn't obvious!