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.

  1. upgrade server side docker engine 1.12.x or later.
  2. downgrade client side engine 1.9.x or lower.
  3. downgrade api version used @ run time exporting docker_api_version=1.21 environment variable on client side.

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -