added hostname option for containers