Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Hub timeout in automated build

I'm using automated build to create docker images for a benchmark suite. In one of the benchmarks, which is web search, I have to use a very big index file (11GB). My image is not being built, and I'm receiving this error :The build has timed out.

But when I check the build log, which is very long, in the last line I can see that it has actually built successfully: Successfully built 4c84c7ec04c6

It seems that the worker responsible for creating this image, loses its connection with its master (registry node), while it is still processing and building the image. It's probably due to the fact that it takes a couple of hours to download the index file.

What can I do to prevent this from happening?

For more information, you can check the build log here.

Thanks.

like image 236
NEO Avatar asked Dec 23 '15 17:12

NEO


1 Answers

I've contacted their support team, and according to their response, the current limits on Automated Builds are:

  • 2 hours
  • 2 GB RAM
  • 1 CPU
  • 30 GB Disk Space

So, for larger builds you have to either break them into several Automated Builds connected by FROM statements and Repository Links, or build them locally on your machine and push them to the repository.

like image 127
NEO Avatar answered Nov 02 '22 23:11

NEO