Not that I run piHole, but there is zero reason to use it as the dns for your server itself. There are no ads or anything within Unraid, so for best results point Unraid's dns to a public dns server.
But on the whitelist, you would also have to whitelist index.docker.io and index-1.docker.io, registry.docker.io, registry-1.docker.io and possibly others.