-1

I started to use Devilbox on Mac instead of Valet Plus. Devilbox is great but it is extremly slow. I found Performance issues on Docker for Mac in documentation, so I added MOUNT_OPTIONS=,cached to .env file. Result is better performance, but still too slow (30 seconds to load page in Symfony). Devilbox as such runs fast but projects with cache folder nope.

enter image description here

This is my current Docker setting (I enabled maximum of sources):

enter image description here

fmstoun
  • 238
  • 4
  • 13

2 Answers2

0

That might be related this answer which I've answered last week.

Docker in MacOs is very slow

Because of Mac OS Docker client doesn't equal real Docker performance on Linux.

Mert Simsek
  • 1,550
  • 9
  • 19
0

OK, I tried docker-sync and I did not realize any speed up. I decided to install Valet plus as I need to have multiple PHP version (easily switchable), MailHog, Xdebug, SSL on local domains, DnsMasq etc. All of this comes out of the box in Valet plus. I thought it would be much better to develop in Docker but Symfony uses really a lot of cached files on disk so this was really unusable (as page load was between 30 to 60 seconds).

fmstoun
  • 238
  • 4
  • 13