I am pulling a ~3GB image from a private docker registry and it takes roughly 10 minutes.
About 80% of the time is spent for extracting the layers, so download/network does not seem to be a bottleneck. It is executed in an aws environment. Both instances, the one that pulls and the registry are on the same network in aws. Both are t2.micro.
Any idea why it takes so long? When I pull the same image from my local dev machine the "extraction" takes less than 1 minute!
Is there a ebs io performance bottle neck? THe pulling instance is "fresh" i.e. has been set up right before the pull.