this post was submitted on 24 Jul 2023
12 points (100.0% liked)

Programming

13352 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

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 are viewing a single comment's thread
view the rest of the comments
[–] Paradox@lemdro.id 2 points 1 year ago

It's a lot more performant, because it makes use of apple's built in virtualization tools. You can adjust how much memory, CPU, and storage are given to the vm