"Volumes in ocean (shipping) were softer as congestion continued and the war in Ukraine weighed on consumer confidence, particularly in Europe," CEO Soren Skou said in a statement.

Maersk, often seen as a barometer for global trade, revised its outlook for global container demand to the lower end of its range between minus 1% and plus 1%.

The Copenhagen-based company confirmed new 2022 guidance and forecast-beating second-quarter numbers announced on Tuesday.

(Reporting by Jacob Gronholt-Pedersen; editing by Jason Neely)