The container ship called Alexander Maersk changed its course after picking up a stress signal on early Friday, Mikkel Elbek Linnet, a spokesman at Maersk Line, told AFP. He could neither specify where exactly the migrants were rescued nor when the stress signal was picked up.
The vessel is currently situated off the coast of the Sicilian town of Pozzallo and awaiting instructions from the Italian Maritime Rescue Coordination Centre (MRCC Rome).
The Maersk container's move to rescue the migrants is part of "an ancient code of conduct," according to Linnet.
"It's not the first time...they have picked up migrants two or three times before in recent years," he told AFP.
Italy's new populist government has threatened to seize several other ships carrying migrants, sparking a row with the EU.
Infrastructure minister Danilo Toninelli on Thursday said that two rescue migrant ships -- Lifeline, run by the German NGO Mission Lifeline, and Seefuchs, run by the German NGO Sea-Eye, -- would be seized and directed to Italian ports for investigation "into their legal status".