I'm not sure but should suspect that you doesn't need the -y flag.
So only: docker-php-ext-install dom
If that doesn't solve your problem: can you share the dockerfile line and more of the error you get?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community