Can the hostname of an already started container be changed?
This may help you hostname
@Also the discussion here will be useful: