anuaimi/refresh_image

pulling latest

anuaimi opened this issue · 1 comments

It is dangerous to pull the most current version of 'latest' as it may have significant new feature that may not backward compatible ( ie was 2.7 and is now 3.2).

The safe way to pull the latest is to first tag the current local 'latest' image with its corresponding version number. Once that it done (is displayed to the user), the 'latest' version can be pulled from Docker Hub. This way if a project was using 'latest' and breaks with the new version, it can be updated to reference the older specific version as this will be the same image it was using before.