Transmode / gradle-docker

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

not able to push image #47

Open inkrement opened 9 years ago

inkrement commented 9 years ago

It's possible to build the image on my local machine but I am not able to push it to docker hub. What's the problem? Is the layer too big? It's a spring project exported as single jar-file. How can I auto-split the layer into smaller parts or reconfigure the size-limits?

Execution failed for task ':buildDocker'. Docker execution failed Command line [docker push name/project:latest] returned: time="2015-05-02T13:15:46+02:00" level="fatal" msg="Failed to upload layer: Put https://cdn-registry-1.docker.io/v1/images/.../layer: write tcp 162.242.195.84:443: connection reset by peer"

mattgruter commented 9 years ago

Not sure where the problem lies. Could you attach the stacktrace?

gradle --stacktrace :buildDocker

Possibly even the debug logs?

gradle --debug :buildDocker