docker - client is newer than server (client API version: 1.24, server API version: 1.21) -
when :
sudo docker version
i obtain error:
error response daemon:client newer server (client api version: 1.24, server api version: 1.21)
anyone can me understand have do?
docker running on client / server model, each docker engine release has specific api version.
the combination of release version , api version of docker follows:
https://docs.docker.com/engine/api/v1.26/#section/versioning
according table above, docker api v1.24 used in docker engine 1.12.x , docker api v1.21 used in docker engine 1.9.x. server needs api version equal or later client.
you have following 3 options.
- upgrade server side docker engine 1.12.x or later.
- downgrade client side engine 1.9.x or lower.
- downgrade api version used @ run time exporting
docker_api_version=1.21
environment variable on client side.
Comments
Post a Comment