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?
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.
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"
Most helpful comment
You can set
DOCKER_API_VERSION=1.24with 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