Using a pot to detain the plant might be the best solution.
Some people need to be careful about planting peppermint because it can invade and spread all over your garden. Using a pot to detain the plant might be the best solution.