Cache the downloaded container image in the Container Instances (preview)
Each time I start a new container, the image is pulled from the repository. Even if I start 10 times the same image. I would like to have the image cached (maybe on the resource group level) so that I only get the penalty of pull once.
Any update on this?
I am also running into this being a blocker for me right now. To much time is used to download large images, even with a registry deployed to same resourcegroup/location
Nick Caruso commented
I'm not sure if this is a Kubernetes thing, but when I used Kubernetes on Google's Kubernetes Engine the server would cache the image local, and check the version tag being requested. If it matched the cache it would use it. This same capability would be great. I just had my underlying app server restart, which prompted all of my running containers to have to redownloaded the image. It took 15 minutes for my application to come back up.
Alexander Trauzzi commented
Right now when I deploy, multiple image pull timeout events are posted. Following that, the speed leaves a lot to be desired.
If I'm to configure an on-demand Jenkins executor setup using the official Microsoft Jenkins ACI plugin, you need some minimum standard of performance that people can bank on. It makes no sense to have to wait upwards of 30 minutes just for a container to be started.
That effectively nullifies all the benefits of something as transient and flexible as ACI.
When the request for a container to be instantiated comes in, you need to aim to have it up and running within 30 seconds. Ideally less, in the 5-10 second range.
Anything more makes the service feel unresponsive.
Andrew Kanieski commented
This is a pretty significant draw back when using a "larger" container.. like windows containers (non-nano).
The time it takes to spin up a container makes it basically unviable for larger containers.
smart dev commented
any timeline on this one ?
Ria Bhatia commented
This is something we will have in the future. Thanks for your feedback! :)