Macbook M1 Com Docker

I need help from those who are already using MAC M1. I’m about to change mine and I’m looking at the M1 to buy. However, I remember that I had some problems a year ago with Docker on the M1, especially when trying to run old projects and library images.

Not all companies adopt the latest libraries to adapt to the M1 processor. This adds an extra layer of uncertainty to the transition.

Have you already joined M1? What has the experience been like now?

So does this mean you already have another Mac and you are thinking about buying a new one with the M1 CPU?

I have one and I use Docker Desktop for Mac and also Docker CE in virtual machines created by Multipass. I rarely have problems and when I have that’s because emulation (trying to run an AMD64 container on ARM64). I’m not sure what libraries you mean.

For example, on the Mac M1, constant warnings appear on the images of containers, highlighted in orange, compromising the application’s usability. To work around this issue, it would be necessary to update the library version to make it compatible with the M1. However, this is not a viable option, as in companies, we are often required to use library versions that comply with adopted standards, regardless of individual preferences. Do you have any suggestions or solutions for this dilemma in 2023?

So you are using libraries which don’t work if the app is emulated but updated version would work better even if the app is still emulated?

The warning is not about the libraries but the fact that you are using Docker images built for AMD64 not ARM64. MySQL 8.0.26 is only available for AMD64, but that is two years old and indeed, you should updated it to the latest patch (8.0.34) which has an image for ARM64, but MySQL is not a library and updating is recommended even when it is supported on the cpu architecture.

Latest phpmyadmin is also supported on ARM so you need images built for ARM. There is no workaround. You either emulate and accept that emulation will result worse performance, or use a compatible Docker image.

1 Like