Pihole wont start after docker pull

Since you run Docker via Portainer:
Portainer may hold on to environment values from previous containers even on container restart. If this would create issues for you, you'd have to manually remove offending environment variables.

See how this was resolved in Pihole Portainer/Docker 5.8.1 startup error?.