When running docker dev environment with Linux and Windows (with WSL2), it’s already in the same container context so the performance is decent. However, on Mac there’s no WSL2 equivalent so bind mounts are painfully slow due to the overhead of translation between the Mac’s and container filesystem.
Is there any way to run the code in docker VM like WSL2 allows?
You must log in or register to comment.
I moved off docker engine and to colima for this very reason. Mounts are speedy now
I’ve been looking at this, we use Docker Desktop for local development on M1 Macs. Is there a reason to switch? Does it have a lower memory footprint?
OrbStack might work for you: https://orbstack.dev/