set hostname for container