Skip to content
DocsTry Aspire
DocsTry

ImagePullPolicy

Enumnet8.0
📦 Aspire.Hosting v13.4.0
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.