Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

unable to run on Ubuntu serve #55

Open tyrelltle opened 9 years ago

tyrelltle commented 9 years ago

Hi i can not build and run my spring boot project in Ubuntu server. the project uses gradle-docker.

Building 87% > :distDockerINFO[0326] POST /v1.11/build?t=callista/auth-server:latest :distDocker FAILED

FAILURE: Build failed with an exception.

bjornmagnusson commented 9 years ago

Looks like your docker client simply is too old. As mentioned in message, API version 1.12 is required to run the build task. What is your docker version? Also in what manner are you running it, local docker client or through api?

Please check your docker version (client & server) with docker version command

colinbjohnson commented 9 years ago

I believe that the Docker client is "Transmode/gradle-docker" and that the problem is created by the Docker daemon being too new. I assume the cause of the issue is that Docker version 1.7.1 or later added Client API version checking and "Transmode/gradle-docker" is using 1.12 API calls.

dendron8 commented 9 years ago

Has anyone resolved this problem? Do we need to update gradle-docker?