my docker version is:
`Client: Docker Engine - Community
Version: 20.10.10
API version: 1.41
Go version: go1.16.9
Git commit: b485636
Built: Mon Oct 25 07:42:59 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.10
API version: 1.41 (minimum version 1.12)
Go version: go1.16.9
Git commit: e2f740d
Built: Mon Oct 25 07:41:08 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.11
GitCommit: 5b46e404f6b9f661a205e28d59c982d3634148f8
runc:
Version: 1.0.2
GitCommit: v1.0.2-0-g52b36a2
docker-init:
Version: 0.19.0
GitCommit: de40ad0
`
my swarmd version: swarmd github.com/docker/swarmkit v1.12.0-2276-g63033102.m
when my install swarmkit, there are no errors,but when i want to Initialize the first node by :
$ swarmd -d /tmp/node-1 --listen-control-api /tmp/node-1/swarm.sock --hostname node-1
there has been an error:
ERRO[0000] agent: node description unavailable agent="&{0xc0000f0180 0xc0001b6220 [] {0 0} <nil>}" error="Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41" module=node/agent node.id=ynf1y34usrk32ch3r3znt0l6x
i try to export DOCKER_API_VERSION=1.41,but it doesn't work, and every service is rejected
what should i do....
my docker version is:
`Client: Docker Engine - Community
Version: 20.10.10
API version: 1.41
Go version: go1.16.9
Git commit: b485636
Built: Mon Oct 25 07:42:59 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.10
API version: 1.41 (minimum version 1.12)
Go version: go1.16.9
Git commit: e2f740d
Built: Mon Oct 25 07:41:08 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.11
GitCommit: 5b46e404f6b9f661a205e28d59c982d3634148f8
runc:
Version: 1.0.2
GitCommit: v1.0.2-0-g52b36a2
docker-init:
Version: 0.19.0
GitCommit: de40ad0
`
my swarmd version: swarmd github.com/docker/swarmkit v1.12.0-2276-g63033102.m
when my install swarmkit, there are no errors,but when i want to Initialize the first node by :
$ swarmd -d /tmp/node-1 --listen-control-api /tmp/node-1/swarm.sock --hostname node-1
there has been an error:
ERRO[0000] agent: node description unavailable agent="&{0xc0000f0180 0xc0001b6220 [] {0 0} <nil>}" error="Error response from daemon: client version 1.42 is too new. Maximum supported API version is 1.41" module=node/agent node.id=ynf1y34usrk32ch3r3znt0l6xi try to export DOCKER_API_VERSION=1.41,but it doesn't work, and every service is rejected
what should i do....