-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate Images #907
Comments
Ping @thaJeztah |
Docker Hub doesn't have such an option (not even sure if the registry spec would have something in the API to communicate such errors). I think the best approach would be to;
I realise it can be a pain; some users just never update (frequently run into that myself with users reporting "bugs" with |
I realize this issue is somewhat old, but it is also still open and I just ran into a need for this myself. For example there's an official Docker image for Jenkins that has been deprecated in favor of the Jenkins community LTS image. The README clearly states this but it would also be useful if Docker Hub had a DEPRECATED tag (like the tags for "Container", "Linux", "ARM 64", "Base Images" etc...) as this would allow users to filter and identify deprecated images at a higher level and maybe even programmatically when pulling the image? |
I think npm does this pretty well. For docker, I could see a My use case is deprecation of arch-specific images which have been moved to a multi-arch image. |
We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days. |
As a workaround, I wrote a horrendous hack that replaces every single executable in an image with a wrapper that prints a (deprecation) warning, so it will get printed no matter what the user does with the image: https://github.com/smheidrich/omniwarn |
This issue is relevant for ClickHouse. We recently have moved from the old organization on DockerHub to another and want to migrate the users. |
I asked for it 2 years ago: https://forums.docker.com/t/mark-image-as-deprecated/104714 My point was using a label in the Docker recipe that identifies as deprecated. It could TRUE, or even a name for a new image to be used instead. |
I've deprecated a few images over the years, but I haven't seen a good way to communicate that to people, because they don't see any messages when they try to use the image. How can I best signal that a
foo/bar
image is deprecated, and aother/better-bar
images should be used instead? I can update the description on the Hub, but nobody looks at those, as far as I can tell.The text was updated successfully, but these errors were encountered: