# Deployment: Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39

**URL:** <https://drone.discourse.group/t/deployment-error-response-from-daemon-client-version-1-40-is-too-new-maximum-supported-api-version-is-1-39/10098>\
**Category:** Drone Support\
**Created:** [August 2, 2020, 12:44pm UTC](https://drone.discourse.group/t/deployment-error-response-from-daemon-client-version-1-40-is-too-new-maximum-supported-api-version-is-1-39/10098 "2020-08-02T12:44:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimpenhaus](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/kimpenhaus/32/5665_2.png) [@kimpenhaus](https://drone.discourse.group/u/kimpenhaus)\
**Post date:** [August 2, 2020, 12:44pm UTC](https://drone.discourse.group/t/deployment-error-response-from-daemon-client-version-1-40-is-too-new-maximum-supported-api-version-is-1-39/10098/1 "2020-08-02T12:44:33Z")

</div>

Hi all,

running latest drone docker an a Synology NAS. On my latest deployment I am receiving the following error message:

```
deployment: Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39

```

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/testdrone/original/2X/4/47e76f29ccd0fb49e936ab33d31039c4b6702274.png)

docker version gives:

```auto
Client:
 Version: 18.09.8
 API version: 1.39
 Go version: go1.11
 Git commit: bfed4f5
 Built: Fri Mar 13 06:46:11 2020
 OS/Arch: linux/amd64
 Experimental: false

Server:
 Engine:
  Version: 18.09.8
  API version: 1.39 (minimum version 1.12)
  Go version: go1.11
  Git commit: 3a371f3
  Built: Fri Mar 13 06:44:35 2020
  OS/Arch: linux/amd64
  Experimental: false

```

Is there any chance to put a DOCKER\_API\_VERSION ([Use the Docker command line | Docker Docs](https://docs.docker.com/engine/reference/commandline/cli/#environment-variables)) somewhere to get it work?

Thanks for your help 🙂

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [August 2, 2020, 12:50pm UTC](https://drone.discourse.group/t/deployment-error-response-from-daemon-client-version-1-40-is-too-new-maximum-supported-api-version-is-1-39/10098/2 "2020-08-02T12:50:24Z")

</div>

You can use any `DOCKER_` variables with Drone, no code changes needed. Drone uses the official Go client for Docker which automatically reads all `DOCKER_` variables. This variable should be passed to the runner, which is where the Docker client code exists.

---

<div class="post-metadata">

**Author:** ![kimpenhaus](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/kimpenhaus/32/5665_2.png) [@kimpenhaus](https://drone.discourse.group/u/kimpenhaus)\
**Post date:** [August 2, 2020, 12:53pm UTC](https://drone.discourse.group/t/deployment-error-response-from-daemon-client-version-1-40-is-too-new-maximum-supported-api-version-is-1-39/10098/3 "2020-08-02T12:53:37Z")

</div>

Awesome - works perfect! Thanks for your quick reply 👍
