<p>I'm facing docker version conflicts in my cluster. The master is having the version 18.03 but the worker nodes are having 17.03.2-ce. I'm using Jenkins multi pipeline to build the docker images where the latest docker container will be pulled in the slave and it is failing as the node base version is lesser than we expected. PFB</p>

<p>Client: Docker Engine - Community
 Version:           18.09.3
 API version:       1.27 (downgraded from 1.39)
 Go version:        go1.10.8</p>

<p>Server:
 Engine:
  Version:          17.03.2-ce
  API version:      1.27 (minimum version 1.12)</p>

<p>Our build will work for versions higher than 17.05. So I though of updating my cluster by following the link (<a href="https://cloud.google.com/kubernetes-engine/docs/how-to/upgrading-a-cluster" rel="nofollow noreferrer">https://cloud.google.com/kubernetes-engine/docs/how-to/upgrading-a-cluster</a>), but I couldn't find anything specific to docker upgrade in the work nodes.</p>

<p>Could you please help me to upgrade the docker version in the work nodes ?</p>

<p>Note: Upgrade is required only in the worker nodes and not in the master (as it is having the latest- 18.03)</p>

Prakash K
<p>On GKE the version of docker is tightly coupled with the node image version, which is in turn based on the Kubernetes version of the nodes in your cluster. If you look at the <a href="https://cloud.google.com/kubernetes-engine/docs/release-notes" rel="nofollow noreferrer">GKE Release Notes</a> you can see which Docker versions come installed on which node image versions, and then figure out which node version you need to install to get the desired version of Docker. </p>

<p>For example, looking at the <a href="https://cloud.google.com/kubernetes-engine/docs/release-notes#march-05-2019" rel="nofollow noreferrer">release note for March 5th, 2019</a>, <code>cos-69-10895-138-0-c124</code> comes with Docker <code>v18.09.0</code> and is used for Kubernetes nodes running <code>1.12+</code>. So if you upgrade your nodes to Kubernetes 1.12.x <em>and make sure you are using the <code>cos_containerd</code> node image</em> then you will get a Docker version higher that 18.03. </p>
