Millions of tonnes of grain will be shipped from Ukraine's blockaded ports within days after a UN-brokered deal to tackle global food prices, Turkish President Recep Tayyip Erdogan announced on Friday.

Dozens of bulkers that had been trapped during six months of fighting are expected to start leaving blockaded ports under escort in about two weeks, according to media reports citing UN officials.