If you are a docker user or using docker container for MySQL or MailHog on your Mac M1 then you might have faced the performance issue especially when import SQL dump with enormous size (like more than 500MB or 1GB).
Now, docker desktop 4.6 and above versions does provide an option to boost the docker performance.
To enable this option, you need to have macOS 12.2 and above with docker desktop 4.6 and above.
- Open docker desktop
- Navigate to
Preferences(the gear icon) >
- Select the
Use the new Virtualization framework(this should be selected by default) and
Enable VirtioFS accelerated directory sharingtoggles
Apply & Restart