DEV Community

Discussion on: Running macOS inside Linux with Docker-OSX

Collapse
 
liviufromendtest profile image
Liviu Lupei

This is interesting, but how many hours did it take you?
There are services like MacStadium, that provide access to real MacOS machines for a small price.
From your company's perspective, would it have been less costly just to use MacStadium for a few days instead of instaling MacOS on a Linux machine?
Taking into consideration your hourly rate multiplied by the number of hours dedicated to this task.

Collapse
 
gombosg profile image
Gergely Gombos • Edited

Good question! Setting up the container itself didn't take much time, at most half a workday. Setting up the whole environment took something like a day in total, but that was because it takes time to set up any dev environment. Even if I had a MacBook or a MacStadium access, it would have taken a few hours to get to the first successful compile, just like if I was onboarding at the company.

(Think Git access, HTTPS certs with mkcert, installing a different Xcode version, getting Ruby work with rbenv, messing with build parameters and environment variables a bit.)

And now I have access to a ready-to-use Xcode environment 1 click away, for free. It really amazed me how smooth the experience was. And this is a long-term investment because it may very well happen that in the upcoming months I'll have to code some feature in that environment.