The world’s fifth-largest container line by capacity maintained its guidance for the year, but warned the conflict was increasing costs.