
I did not expect that it could be so fast. I assumed that my setup on VPS is good enough and I can still use it.Īnd probably I wouldn't check its performance if I didn't want to write this article.Īfter all these tests and checks I am really surprised. To be honest when I was buying a new MacBook I was not thinking about running Docker on it.


#Postgres docker mac m1 pro#
Results are quite ok, it is faster than my previous VPS, but surprisingly it is significantly slower than Docker on MacBook Pro with Apple M1 Pro chip and mutagen. It was still a little bit slower, and what is most important - very resource consuming, but it had a chance to compete with Linux based servers.īecause I have a new VPS, with a similar number of CPU cores and a similar amount of RAM that I allocated in Docker on Mac, let’s find out if it can beat M1 Pro. Running Docker with Mutagen directly on a MacBook was an alternative solution which I rated very well. It has many advantages and it was the fastest one. VPS was the ultimate winner of my previous tests. Is Docker desktop with Mutagen still slower than running Docker on VPS? Looks like if we take out I/O disk operations out of the equation we will finally have a setup which can perform very well, maybe even better than on Linux. What is interesting here is how fast it is with mutagen. It performs slightly better in comparison to my old MacBook but it is still slow for both cached and delegated. Volume setting has not too much impact on performance. Besides that, I set up mutagen, because it was very promising last time.

This time I did not play too much with volume configuration, I checked only cached and delegated. Let’s check how fast Docker containers will handle requests on Apple Silicon I was able to use it normally and it did not even reach 60 degrees Celsius.īased on that you can think that there is hope that finally Docker can work fast on MacBook, but keep reading. What is also important, my computer did not slow down during that process. But it also shows that if there are not too many I/O disk operations, performance is quite good. This is not surprising, I gave Docker quite a lot of resources. Docker image was built in only seven minutes on MacBook M1 Pro, which was even better than the build time on my new VPS. Let’s start with something that should not be influenced too much by volume performance - Docker builds.Īs you can see, the difference is huge. It is related to resource allocations.įor example, you can allocate 4 CPUs and 8GB of RAM or you can increase that number according to what you need.
#Postgres docker mac m1 for mac#
I used the same methodology as in my previous article.Īlso, tests were performed on the same project with the same data.ĭocker for Mac has some settings which might influence general performance. There is no better way to find an answer to that question than some benchmarking. I’m very glad that I changed my old one to this model.īut in the case of Docker, there is no simple answer to that question. It is fast, quiet and it is not getting too warm even on a high load.

You can feel the difference right away, in any aspect. There is no doubt that the MacBook with the new Apple M1 Pro chip with ARM architecture is a very powerful machine. Is it worth buying a new MacBook Pro with Apple Silicon? But first, let’s have a look at changes in my setup. Wondering how it impacted Docker performance? Bear with me. I changed a few things since that time, I changed my VPS, and what is most important, I changed my MacBook Pro to a new model. My final decision for 2021 was to use external VPS, although the approach with mutagen seemed promising. In this article I am going to consider different volume configurations (default, cached, delegated) for Docker on Mac, using Docker on VPS, and mutagen (as a solution for files synchronization with Docker). In my previous article I made a comprehensive approach to finding the best option for those, who do not want to replace their Apple computers with anything else but still are forced to use Docker. Probably there are also people who decided to replace their MacBooks with Linux based computers. In many cases, it performs so badly that we are forced to look for different, alternative solutions. Running Docker on Apple MacBook computers has been a common problem for many developers since the beginning.
