Skip to content

Add pullPolicy to the run.container task definition #1138

@mrsimonemms

Description

@mrsimonemms

What would you like to be added?

The run.container task should have a pullPolicy to decide how to handle downloading images as part of the run process.

This should accept the following values:

  • ifNotPresent. This is the default and would only pull the image if not already on the running machine
  • always. This would always pull the image, even if it already exists
  • never. This would never pull the image

(Yes, these are the same values as Kubernetes. But it works).

Discussed in #1137 (comment)

Proposal(s):

No response

Alternative(s):

Metadata on an implementation-specific point of view. This becomes potentially messy though.

Additional info:

I'm happy to do a PR for the spec and the Go SDK.

Community Notes

  • Please vote by adding a 👍 reaction to the feature to help us prioritize.
  • If you are interested to work on this feature, please leave a comment.

Metadata

Metadata

Assignees

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions