Thursday, November 18, 2021

[SOLVED] Ubuntu Docker images tags vs Ubuntu release minor number

Issue

Is there a best practice to match an official Ubuntu minor release update (like LTS 18.04.6) to a tag in the docker repository that is in the form "ubuntu:bionic-20210930"?


Solution

The best practice is to target LTS release version current build:

  • 18.04 or bionic
  • 20.04 or focal
  • latest

There is no intermediate LTS releases tags, and I don't know why you could need this, but you can target to date based build as 'bionic-20210930' despite there is no correlation table for dates and minor release.



Answered By - Claudio Weiler