I need Docker pull to be as fast as possible. I'm using an EC2 machine to pull a ~13.2GB from ECR (Amazon container registry) in about 3m10sec (70MB/sec).
Can I tune the Docker client use more system resources (threads, connections) for the pull to complete faster?
For example: can I tune Docker to download more layers in parallel? and/or multi-part download?
Notes:
- I can't change the image itself.
- CPU/Disk/Network are idle - There's enough network bandwidth between the client and the docker registry (both in AWS). There's enough disk IO (using SSD). There's enough CPU cores to spare.
- I assume the repository server can support more connections.
- I see the pull involves: 1/network transfer (Network+disk) 2/extracting the layers (CPU+disk)