DEV Community

Ibrar Hussain
Ibrar Hussain

Posted on

Boost Docker Performance on Mac M1

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) > Experimental Features
  • Select the Use the new Virtualization framework (this should be selected by default) and Enable VirtioFS accelerated directory sharing toggles
  • Click Apply & Restart

Enable VirtioFS

Top comments (0)