docker-library / python

Docker Official Image packaging for Python
https://www.python.org/
MIT License
2.5k stars 1.04k forks source link

What is the image retention/removal policy? #932

Closed martin-thoma closed 1 week ago

martin-thoma commented 1 week ago

Looking at https://github.com/docker-library/python/commit/7eefa0c4911bcf998ff5f880df51dc7f8bbf6dec I assume that Python images that reached their end of life (EOL) will be removed.

I guess the same is true for the Debian version.

Is it guaranteed that images will stay on Dockerhub until the EOL is reached?

LaurentGoderre commented 1 week ago

@martin-thoma removing them there doesn't remove them from the registry, only from the build system, which means they receive no further update even if the base image has updates.

LaurentGoderre commented 1 week ago

The debian repo still has a tag for Debian Squeeze last updated 8 years ago: https://hub.docker.com/layers/library/debian/squeeze/images/sha256-f028d90e41fbfc9e453c6df47fa4bf45b12314319788ddffd52e951ddc51ed29?context=explore

martin-thoma commented 1 week ago

Thanks for the clarification :+1:

But when are images removed from the registry?

tianon commented 1 week ago

It's not guaranteed, but our policy thus far has been to avoid removing any old content unless there's an overriding concern (maintainer request, etc).