Docker improve download speed

 This are a few advices to improve the images download.

When we try to build or up a current Sitecore project (maybe other project works fine), we have the problem that it takes a lot to download images that docker requires to build what is needed. 

  • First we need to use a good internet connection, and use a Ethernet cable CAT 6 or superior (CAT 5E is better than nothing). So that will assure that internet connection is good(ethernet cable is better than any Wi-Fi).
  • Use some kind of parallel option to download images, to make it quicklier. For current docker version 4.25.2 or superior, we need to modify the "docker engine" to allow to download concurrent images at the same time. In older docker version we needed to add a parallel option on build/up command, but that is not working anymore in the latest docker version.


This solution works for the docker version: 4.25.2 or superior


Review doc and 

https://stackoverflow.com/questions/43479614/docker-parallel-operations-limit
"max-concurrent-uploads": 3,
"max-concurrent-downloads": 15




Docker Engine
{
"dns": [
"8.8.8.8"
],
"experimental": false,
"max-concurrent-downloads": 15,
"max-concurrent-uploads": 3
}

Comments

Popular posts from this blog

docker elastic

Scriban GeneralLink Extension