Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

can we run this on macos?

Open ykhandelwal913 opened this issue 3 years ago • 7 comments

we have pool of macmini macos. Can we use this and run macos inside docker on macos itself instead of ubuntu os? If yes, how can i do that?

ykhandelwal913 avatar Sep 27 '20 19:09 ykhandelwal913

I would also be interested in the option to run this on a MacOS host. Dockerized macOS would make CI runner maintenance a LOT easier.

I suppose the last resort would be to install Ubuntu on a Mac Mini and then run macOS according to the current guide.

mixu- avatar Oct 27 '20 09:10 mixu-

Sounds great guys, I have the same idea, but may not easy https://wiki.qemu.org/Hosts/Mac , qemu only fewer developer working on and did not support the latest version of macOS

Aisuko avatar Jan 18 '21 01:01 Aisuko

I finally feel comfortable answering this question, sorry about that.

You don't need a Mac mini to run this because the project emulates it for you, more to the point, it's open source designed for Linux, meaning you don't need any special hardware.

sickcodes avatar Jan 25 '21 05:01 sickcodes

Sadly, it also means you can't run it from a macOS hosted environment, which is unfortunate because it would otherwise provide a functional way to test stuff across a variety of, pre-defined macOS environments (different versions of not only the OS itself, but also featuring various configuration of utilities like ssl, xcode, compilers, and runtimes (e.g., python, ruby, node, etc)).

Would really be great to be able to host this from a macOS environment to enable larger automated testing matrices.

(PS - this is wonderful work, and I'd love to assist, though I strongly feel like I could benefit from some level of orientation… 😅)

prometheas avatar Jan 31 '21 19:01 prometheas

@sickcodes Any updates on this? What about running this on the native Virtual machine support from MacOS?

marcellodesales avatar Aug 26 '21 09:08 marcellodesales

Try this @marcellodesales https://github.com/KhaosT/MacVM

sickcodes avatar Aug 26 '21 18:08 sickcodes

@sickcodes Would it be possible to have a docker-in-docker environment where we run Docker-OSX inside an ubuntu docker container which is executed on mac hardware? I know this sounds unnecessarily convoluted, but my company has legal concerns about running this (fantastic piece of work) on non-apple hardware because we don't do security research, which is the exception on the licence.

dav1d-wright avatar Feb 07 '22 20:02 dav1d-wright