<p><a href="https://i.stack.imgur.com/Ioq1w.png" rel="nofollow noreferrer">Docker daemon in minikube</a></p>

<p>When I do </p>

<pre><code>docker version
</code></pre>

<p>I have </p>

<pre><code>Error response from daemon: client is newer than server (client API version: 1.24, server API version: 1.23)
</code></pre>

<p>I want to use <code>export DOCKER_API_VERSION=1.23</code> to downgrade docker.
But it doesn't work when I use minikube and use <code>eval $(minikube docker-env)</code>. The client version is always 1.23</p>

<p>Please see the image about the comparison before and after using minikube docker daemon. The DOCKER_API_VERSION is always 1.23. But the client version is not 1.23.</p>

<p>I cannot reproduce the issue with the newest minikube image and the latest docker installation. I think that the cause is that you are using an old version of minikube. Could you check that?</p>

<pre><code> 2017-10-04 17:17:34 ⌚  ip-192-168-200-196 in ~
○ → eval $(minikube docker-env)

 2017-10-04 17:17:36 ⌚  ip-192-168-200-196 in ~
○ → docker version
Client:
 Version:      17.09.0-ce
 API version:  1.24 (downgraded from 1.23)
 Go version:   go1.8.3
 Git commit:   afdb6d4
 Built:        Tue Sep 26 22:40:09 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      1.12.6
 API version:  1.24 (minimum version )
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Wed Jan 11 00:23:16 2017
 OS/Arch:      linux/amd64
 Experimental: false

 2017-10-04 17:17:41 ⌚  ip-192-168-200-196 in ~
○ → minikube version
minikube version: v0.22.2
</code></pre>
