Docker Hub timeout in automated build

2019-03-29 07:51发布

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.

1条回答
Emotional °昔
2楼-- · 2019-03-29 08:01

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.

查看更多
登录 后发表回答