An easy way to tame is to use a net gun. It will prevent the Doedicurus from balling up and removes the need for a pen of any kind.

More Doedicurus Taming & KO Tips