Docker loads layers sequentially

Is there a way to get docker to load image layers sequentially rather than in parallel. I demand this because our repository is very strict (or suspicious) regarding network issues. I get many EOF errors, for example:

time="2016-06-14T13:15:52.936846635Z" level=debug msg="Error contacting registry http://repo.server/v1/: Get http://repo.server/v1/images/b6...be/layer: EOF" time="2016-06-14T13:15:52.936924310Z" level=error msg="Download failed: Server error: Status 0 while fetching image layer (b6...be)" 

This is when starting Docker 1.11.2 on windows.

But on Centos7 virtual machine everything works fine by default 1.9.1.

I noticed that one difference was that 1.9.1 downloads files sequentially. So I tried to install 1.9.1 on windows, but the quick launch terminal automatically downloaded and installed the ISO2 version to boot bootsdocker 1.11.2.

So, is there any arg, config, or environment variable that I can set to get docker to load layers one at a time?

Or am I coming to the wrong conclusion, assuming that simultaneous downloads lead to my network errors?

thanks

+5
source share
1 answer

It seems that the max-concurrent-downloads option has recently been added to the docker daemon configuration. Here is a link to the docs, although I have not yet had the opportunity to verify this myself.

+6
source

All Articles