Error: client is newer than server

If you are running a legacy version of the Docker daemon you will encounter the following error message:

ERROR: Error response from daemon: client is newer than
server (client API version: 1.26, server API version: 1.24)

This can be resolved by configuring your agent with the following environment variable:


This error message is encountered because Docker has a versioned protocol, and legacy versions of Docker prevent newer versions of the protocol from connecting. The solution is to downgrade the protocol using the DOCKER_API_VERSION environment variable.


We are always happy to help with questions you might have. Search our documentation or check out answers to common questions. You can also post questions or comments to our community forum.

Is there a mistake on this page? Please let us know or edit this page.