Docker Performance on Mac M1 #73
Replies: 5 comments 5 replies
-
I'm running a Macbook Air M1 with 8 Cores, 8GB Ram. Currently, it takes ~10 seconds to run nile (with no parameters, just spit out a list of commands). First set of optimizations (from this post):
Next step for me is to try reducing the number of shared directories mounted which I've read reduces reliance on disk writes. |
Beta Was this translation helpful? Give feedback.
-
Looks like we'll need to have multiple architectures available in our images if we want to build arm-compatible builds. Going to try following this guide: https://www.docker.com/blog/multi-arch-images/ |
Beta Was this translation helpful? Give feedback.
-
Here are the steps to run a docker instance using UTM on OSX. I personally found the linux / osx switch very challenging (lots of buggy hotkeys, issues running certain os features during virtualization) and abandoned after a few hours.
|
Beta Was this translation helpful? Give feedback.
-
After some experimentation, I'm running the following:
|
Beta Was this translation helpful? Give feedback.
-
Resize the disk drive on your UTM VM if it grows too large: https://linux.afnom.net/install_apple/m1.html |
Beta Was this translation helpful? Give feedback.
-
Developing on a Mac M1? You might find that Docker is slow as crap !
I'll explore different speed improvements in this thread.
Beta Was this translation helpful? Give feedback.
All reactions