How to add CTID to CT bash prompt?

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.
I thought there were a variable of something like that in order to get it. So is there nothing to do?
 
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.