The hosts won and could have scored several more goals in the game
Real Madrid earned an easy victory over Shakhtar Donetsk to go three from three in their Champions League group.
Los Blancos should have scored several goals but Karim Benzema, Vinicius Junior and Rodrygo spurned good chances.
The Brazilian duo, however, did get the goals that won them the game.
Rodrygo finished well to open the scoring after the ball bounced back to him.
Then Vinicius put the finishing touches on a slick team move to double the lead.
Oleksandr Zubkov gave the Ukrainian side a foothold with a spectacular finish.
Ancelotti admitted he told off his team at half-time for letting the goal in and dipping in concentration, and in the second half Madrid made more chances, but could not convert them.