Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ImagePullPolicy

Enumnet10.0
📦 Aspire.Hosting v13.5.3
Image pull policies for container resources.
namespace Aspire.Hosting.ApplicationModel;
public enum ImagePullPolicy
Default= 0
Default image pull policy behavior. Currently this will be the same as the default behavior for your container runtime.
Always= 1
Always pull the image when creating the container.
Missing= 2
Pull the image only if it does not already exist.
Never= 3
Never pull the image from the registry even if it is missing locally.