#34 Registry pruning of old images
Opened 5 years ago by cverna. Modified 2 years ago

What should we do with old images on the registry ? Should we delete them ? Should we keep them ? Should we only keep the latest tag ?


I'd consider removing images from unsupported Fedora releases at least.

Not sure if people are pulling something else than :latest.

+1 for removing unsupported releases once their are EOL

On the supported ones, what could be the sense of maintaining the images between the gold release and the latest one? Could we maintain just both of them? or just latest?

Presently, registry.fedoraproject.org is hosting images going back to Fedora 29. Considering F33 and F34 are the only supported releases now, I think F29-32 should be removed from the registry.

I'd at least wait for a limited time period after a release goes EOL. Don't remove the images immediately.

What sounds like a reasonable timeline, EOL+{1 month, 1 release}? Prior images will also be available on Docker Hub (if that's something to take into account).

I would suggest removing the EOL versions when a new release is made.

Examples:

  • F35 release: F35, F34 and F33 (now freshly EOL) are kept available, F32 and below are removed.
  • F36 release: F36, F35 and F34 (now freshly EOL) are kept available, F33 is removed.

This gives approximately 6 months for EOL images and has reasonable storage costs (only three releases kept available at the same time).

I would suggest removing the EOL versions when a new release is made.

Examples:

  • F35 release: F35, F34 and F33 (now freshly EOL) are kept available, F32 and below are removed.
  • F36 release: F36, F35 and F34 (now freshly EOL) are kept available, F33 is removed.

This gives approximately 6 months for EOL images and has reasonable storage costs (only three releases kept available at the same time).

This sounds great to me!

Login to comment on this ticket.

Metadata