How to version Docker images?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to version Docker images?

mikek753
hi,

Are there any recommendation about versioning Docker images via TAG?
The dockerfile can be changed, so that means new version for resulting image.
Any component inside dockerfile can be changed version wise.
Also, Docker Image has to be rebuilt as result of "FROM" image was rebuild, so no inner changes to this image, but version / TAG has to be updated to avoid overwrite prev image.

How to manage Docker image versions?
Any rules or guides for it?

Does Artifactory treat Docker Image as released artifact or as snapshot inside?
Is there a way to use SNAPSHOT Maven concept for Docker images and registry?

thanks
Mike