Change hostname of an existing container

Nope, that’s just a limitation one has to live with. To change the hostname would has to rebuild the container.