How to pull layers one by one in Docker to avoid connection timeout?

I keep getting connection timeout when pulling image:

enter image description here

First, the loading of the first 3 layers starts, after one of them is finished, the 4th layer tries to start loading. Now the problem is that it will not start until the first two layers have finished loading, and before this happens (I think), the fourth layers will not be able to start the download and interrupt the whole process. Therefore, I thought that if loading layers one at a time would not solve this problem. Or is there a way to manually upload images using my browser?

+10
source share
2 answers

Docker --max-concurrent-downloads. , .

, dockerd --max-concurrent-downloads 1 .

. dockerd, , .

+9

, , Ubuntu:

sudo service docker stop
sudo dockerd --max-concurrent-downloads 1

, , .

sudo service docker start
+3

Source: https://habr.com/ru/post/1664695/


All Articles