create & configure container in one go