Skip to content

[1.12-rc] docker should have a way to pull/update service images #24066

@thaJeztah

Description

@thaJeztah

It's currently not possible to force updating a service's image, for example, if a service uses nginx:1.11.1-alpine, and an updated version is available for that tag, it's not possible to force pulling the latest version.

Related; when deploying a service, we want to be sure that each node uses the exact same version of the image.

We briefly discussed this yesterday, and are thinking of having Docker determine the sha256/digest of the specified image, and use that to deploy the service. When updating a service, the sha256/digest of the image is checked again, to know if an updated version is available and should be pulled.

/cc @mgoelzer @aluzzardi @tonistiigi @tiborvass

Metadata

Metadata

Labels

area/distributionImage Distributionarea/swarmkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.priority/P2Normal priority: default priority applied.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions