A container ship scraped against another as the first vessel tried to berth in the Pakistani port of Karachi, sending containers plunging into the water.