City were already assured of finishing as Group F winners and with one eye on Sunday's Premier League Manchester derby against United, Guardiola rested his entire first-choice back four.

Shakhtar then capitalised on uncertainty in the City defence with Bernard firing the home side ahead before 'keeper Ederson gifted the hosts a second - Ismaily taking advantage to tighten the Ukrainian champions' grip on a last-16 spot before Sergio Aguero scored a late penalty for the visitors.

Shakhtar Donetsk celebrate their first goal in the 2-1 win

The result spoiled Guardiola's milestone 100th appearance as manager in the competition, but he was determined to focus on the positives that he and his players will take from the experience.

"It hurts. It is never nice to lose a game," he said. "But we have said many times we cannot win all the time, we are going to lose games. Today was the first.