aylei / aylei/kubectl-debug

Error: Error response from daemon: client version 1.46 is too new. Maximum supported API version is 1.41

Open
#163 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
303
PR merge metrics
No merged PRs in 30d

Description

我的版本
```bash
[root@master1 tools]# docker version
Client: Docker Engine - Community
Version: 20.10.7
API version: 1.41
Go version: go1.13.15
Git commit: f0df350
Built: Wed Jun 2 11:56:24 2021
OS/Arch: linux/amd64
Context: default
Experimental: true

Server: Docker Engine - Community
Engine:
Version: 20.10.7
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: b0f5bc3
Built: Wed Jun 2 11:54:48 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.3
GitCommit: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc:
Version: 1.0.0-rc92
GitCommit: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
docker-init:
Version: 0.19.0
GitCommit: de40ad0`
```

------------报错见下面------------
```
[root@master1 tools]# docker-debug 2945 ip addr
Error: Error response from daemon: client version 1.46 is too new. Maximum supported API version is 1.41

```

这里1.46是谁的版本呢,该怎么解决呢

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce `docker-debug 2945 ip addr` with the reported Docker 20.10.7 client and server, then inspect the docker-debug entry point and its Docker client dependency for API-version negotiation. Done means identifying why the command requests API 1.46 against a server supporting 1.41 and documenting or validating a compatible resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.