Hostname of container

I have this problem:
a web application that run in the container needs to register itself to FreeIPA doing so there is the need for the container to have a proper hostiname since it will have to create a certificate and to register to FreeIPA.
Unfortunately the container does not have a FQDN but just a plain hostname that is service_randomhash.
This could cause a probem with FreeIPA since the contaerin register itseld with a bad name and I could also have trouble in locting the container (see also my previous post).
Is it possible to have a defined hostnerme for the container?

1 Like

I have same problem~
How to solve this problem