Drone: client is newer than server (client API version: 1.26, server API version: 1.24)

Created on 20 May 2017  路  4Comments  路  Source: drone/drone

Quote of the "full" error log in the build: ERROR: Error response from daemon: client is newer than server (client API version: 1.26, server API version: 1.24)

Infrastructure is on Rancher with CoreOS Stable currently running docker version 1.12.6.

Where do I start to dig deeper as to why this error happens?

Most helpful comment

You can set DOCKER_API_VERSION=1.24 with the agent. This is a well known docker issue where docker 1.12 and below do not let newer clients connect. This can be resolved by downgrading the client using the mentioned environment variable, or by upgrading your docker daemon.

Or you can upgrade Docker.

http://stackoverflow.com/questions/43072703/client-is-newer-than-server-client-api-version-1-24-server-api-version-1-21

All 4 comments

You can set DOCKER_API_VERSION=1.24 with the agent. This is a well known docker issue where docker 1.12 and below do not let newer clients connect. This can be resolved by downgrading the client using the mentioned environment variable, or by upgrading your docker daemon.

Or you can upgrade Docker.

http://stackoverflow.com/questions/43072703/client-is-newer-than-server-client-api-version-1-24-server-api-version-1-21

Awesome, that solved it, thanks @bradrydzewski

To record it here:

Version was downgraded to "1.23"

Had this issue on Kubernetes (GCE) and the above resolved it. thanks

remember that its the agent that needs this ENV_VAR

Add env In k8s to fix this issue:

        env:
        - name: DOCKER_API_VERSION
          value: "1.24"
Was this page helpful?
0 / 5 - 0 ratings

Related issues

sheerun picture sheerun  路  5Comments

jpillora picture jpillora  路  6Comments

xoxys picture xoxys  路  4Comments

donny-dont picture donny-dont  路  5Comments

bradrydzewski picture bradrydzewski  路  5Comments