5/28/2023 0 Comments Docker for mac vs brew dockerHow fast is it? Well, the title of this article isn't hyperbole, in fact, it's underselling things. Mutagen does a lot of things and is a very interesting technology in general, but what we're primarily interested in is how it can perform lightning-quick syncs between your local computer and a Docker volume. Compounded, that means that even your average runs are bitterly slow.Įnter Mutagen. As your Docker app runs, it reads and changes files across that sync, which means that every file access slows down your application a little bit more. Sure, it's consistent and compatible, but it's just about the slowest possible option you could go with. The problem is that the default file sync strategy that Docker on MacOS uses is garbage. It turns out that developing with Docker on MacOS can actually be a really enjoyable experience, not just a compromise you make in order to have a portable development environment. In fact, you can get it pretty close to native speed and it's not even all that difficult. Docker on MacOS will always be slower than on Linux (well, unless Apple Silicon ends up panning out, which it looks like it might!), but it doesn't have to be as infuriatingly slow as it is by default.
0 Comments
Leave a Reply. |