Each time you need to create a new docker image and use part of the tag version (for example :latest and :2.3 ) to help users choose the right option:
$ docker build -t pavel987/playframework:2.3 . ....
Marking with version number and latest allows your users to automatically use the latest version (since the CLI uses the latest by default) and still allows you to select a consistent version if they do not want something to change (for example :2.3 ). Therefore, in their Dockerfiles, they can use FROM pavel987/playframework:latest if they want to use the latest version, or FROM pavel987/playframework:2.3 if they want to snap their base.
All of this assumes that you want your main distribution to be like a Docker image.
source share