Has anyone installed Sitecore on MAC machine using docker? Steps provided by Sitecore is compatible to Windows machine but not MAC. Few of the Frontend developers are comfortable with MAC machine and not wanted to move to Windows. JSS is installed on their local machine and working fine but not Sitecore.
-
1To do it on a Mac you must first install a Windows OS on it (in a Virtual Machine). Via something like Fusion or VirtualBox. Then proceed to follow Windows installation instructions inside your VM. Good luck.– Mark CassidyAug 6, 2021 at 13:00
-
I had lots of problems with Docker and Hyper-V on a VM on a Mac. I am now thinking I'd like to try spinning up services that can run in Linux on docker on the mac like solr, traefik, redis, and sql server. and then just run the IIS/Windows required containers in docker in a VM along with the dev environment. I just have to work out the networking aspects of that.– Keith LeslieSep 20, 2022 at 17:43
3 Answers
Sitecore uses Windows-based Docker containers. You could not run Windows containers directly on OS X.
You have 2 options:
- Install Bootcamp on your machine and allow dual boot between OS X and Windows 10
- You can install VirtualBox(or any other software that allows you to use virtual machines). And then install Windows as a virtual machine.
Then you need to follow official Sitecore instructions for Windows
-
How efficient is this with m1 and m2 processors? Does everything work properly?– AbzoozyJul 27, 2022 at 19:17
-
-
For Apple M chips check related question: sitecore.stackexchange.com/q/32424/2492– whuuFeb 19 at 8:25
I'll recommend trying this https://github.com/StefanScherer/windows-docker-machine as a workaround that helps you launch a windows container via a VirtualBox or VMware.
Short description:
This Vagrant environment creates a "Docker Machine" to work on your MacBook with Windows containers. You can easily switch between Docker Desktop Linux containers and the Windows containers.
I am facing the same issue.
Installed VirtualBox, and Windows 10. Then I was able to install Sitecore, as it will take Windows containers only.