Wordpress project is running so slow with Docker Desktop on Mac
Hi There,
I need help with to speed up on page request of my wordpress project running docker on Macbook Sonoma 14.7.1.
The current issue is that it takes 20 to 30 seconds just to load a web page or each request. I think there might be issues related to file I/O or file sharing. However, I have tried the following but still not help:
- In my docker desktop, v4.35.0, I have selected Apple Virtualization Framework, Use Rosetta and VirtioFS.
- In my docker-compose where I define volumes, I have used :delegated.
volumes:
- ${MYPROJECT_SRC_PATH:-../myproject}:/var/www/src:delegated
- ./phpmyadmin:/var/www/phpmyadmin
By having above settings as documented or other Mac users suggested, but still not help.
I would be really appreciate for your kind help supporting me on this.
Thanks and regards,
Pirun
MacBook Pro 13″, macOS 11.7