Ah you want some form of automated procedure, sorry for the misunderstanding. The easiest way is obviously adding the id on creation to the hostname or leaving it blank which defaults to the CTID. Otherwise there is no straight forward way to get the CTID from within the CT.
Ah you want some form of automated procedure, sorry for the misunderstanding. The easiest way is obviously adding the id on creation to the hostname or leaving it blank which defaults to the CTID. Otherwise there is no straight forward way to get the CTID from within the CT.
Not out of the box. This is an information the container normally does not need/should know about. Changing/not setting the hostname is your best shot afaik.