ensure the container has the proper hostname when we online it