help > RE: Errors with docker on Macbook M2
Dec 4, 2024  10:12 PM | Christopher Schwarz - Mayo Clinic
RE: Errors with docker on Macbook M2

Hi Mac folks,
I have been able to make a non-Docker build of (upcoming version) 0.3.5 that runs successfully on Apple Silicon. mri_reface is currently built on matlab2022a, which does not have native support for ARM, but they support it via Rosetta. Matlab added native support in a later version, but for now, the mri_reface Mac build will run on Rosetta (which I believe is a common default install). The bad news is Matlab's Docker building functions only support Linux, so it's going to be more difficult (or maybe impossible) to make a good Apple Docker build. For the Linux Docker builds we found that packaging the standard matlab Linux runtime into Docker had bugs, and it only really worked using Matlab's special Docker images, which are apparently for Linux only. So, the good news is we will soon release a 0.3.5 with a new Mac build, but the bad news is it won't have a Docker version, at least for now. Mac users will need to compile the two dependencies (niftyreg aka reg_aladin, and ANTS) on their own, but I was able to compile these with minimal difficulty (disable SSE for Niftyreg; otherwise standard defaults were fine). So, you can expect a (non-Docker) Mac build with 0.3.5 release in the coming weeks. I am doing final testing for this now, and the Mac build was part of that.


Chris

Threaded View

TitleAuthorDate
Justin Kirby Aug 5, 2024
James Swift Dec 14, 2024
Christopher Schwarz Dec 14, 2024
James Swift Dec 13, 2024
Christopher Schwarz Dec 13, 2024
Christopher Schwarz Dec 12, 2024
RE: Errors with docker on Macbook M2
Christopher Schwarz Dec 4, 2024
Christopher Schwarz Aug 6, 2024
Justin Kirby Aug 6, 2024
Christopher Schwarz Aug 8, 2024
James Swift Nov 15, 2024
Christopher Schwarz Nov 15, 2024