Maersk Line and the Oetker Group have reached an agreement for Maersk Line to acquire Hamburg Süd, the German container shipping line.