One of the necessities to breeding your perfect mon is breeding perfect IVs. The easiest way to do this is getting a perfect Ditto, but getting all 6 perfect IVs is very hard and time consuming. The following guide will get you close, as 3 perfects are better than none. It is also very straight forward and not very time consuming, the most boring part is chaining the Dittos.
https://pokemongohub.net/pokemon-sun-moon-perfect-6iv-ditto-guide/
NOTE: If you don't want to have your entire party wiped bc the Ditto transformed into your Kommo-o and proceded to DD and Dragon Claw, i would recommend getting a level ~80 user of Seismic Toss. That way, when the Ditto uses it, it will only do around 25-30 damage depending on level. The Dittos on Mt. Hokulani have around 70-80 HP, so having a lvl 80 Seismic Toss user would let you kill the Dittos reliably. Believe me, it will save you a lot of pain.
https://pokemongohub.net/pokemon-sun-moon-perfect-6iv-ditto-guide/
NOTE: If you don't want to have your entire party wiped bc the Ditto transformed into your Kommo-o and proceded to DD and Dragon Claw, i would recommend getting a level ~80 user of Seismic Toss. That way, when the Ditto uses it, it will only do around 25-30 damage depending on level. The Dittos on Mt. Hokulani have around 70-80 HP, so having a lvl 80 Seismic Toss user would let you kill the Dittos reliably. Believe me, it will save you a lot of pain.