github.com/buildtool/build-tools@v0.2.29-0.20240322150259-6a1d0a553c23/www/docs/faq.md (about)

     1  # Frequently Asked Questions
     2  Or stuff just good-to-know...
     3  
     4  ## What happened to X-action?
     5  We deprecated the build, push, deploy Github actions in favour of the new [setup-buildtools-action](/ci/github)
     6  ## Dealing with different docker versions
     7  buildtools defaults to using the latest version of the docker client
     8  (the actual version is determined by the docker client library that is used).
     9  This might cause issues if your docker server is running an older version.
    10  
    11  Errors like:
    12  ```shell
    13  Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40
    14  ```
    15  
    16  The docker client version can be specified with the `env` variable `DOCKER_API_VERSION`
    17  Depending on your setup you might be able to use `export` somewhere "globally"
    18  ```shell
    19  export DOCKER_API_VERSION=1.40
    20  ```
    21  Or just use it when running the actual command
    22  ```shell
    23  DOCKER_API_VERSION=1.40 build
    24  ```