Install Docker prerequisites on MacOS
Edit on GitHubThis document describes the prerequisites for installing Spryker on MacOS.
System requirements for installing Spryker
Review the system and software requirements in the table and configure them using the following instructions.
REQUIREMENT | VALUE OR VERSION |
---|---|
Docker | 18.09.1 or higher |
Docker Compose | 2.0 or higher |
vCPU | 4 or more |
RAM | 16GB or more |
Swap | 4GB or more |
Install and configure a Docker manager
You can run Spryker in Docker using Docker Desktop or OrbStack. Docker Desktop is a free default tool, but OrbStack works faster with intel-based Macs.
Install Docker Desktop
- Download and install Docker Desktop (Mac).
Signup for Docker Hub is not required.
-
Accept the privilege escalation request “Docker Desktop needs privileged access.”.
-
In the Docker Desktop, go to preferences by selecting the gear in the top right corner.
-
In the General section of Preferences, click the Use Docker Compose V2 checkbox.
-
Set recommended memory and swap limits:
- Go to Resources > ADVANCED.
- Set CPUs: to “4” or higher.
- Set Memory: to “16.00 GB” or higher.
- Set Swap: to “4.00 GB” or higher.
- Set the desired Disk image size:.
- Select the desired Disk image location.
- Select Apply & Restart.
Install OrbStack
Download and install OrbStack.
To migrate from Docker Desktop to OrbStack, see Migrate from Docker to OrbStack. To run Docker Desktop and OrbStack side-by-side and switch between them, see Side-by-side .
Install Mutagen for development mode
If you are going to run Spryker in development mode, install or update Mutagen and Mutagen Compose to the latest version:
brew list | grep mutagen | xargs brew remove && brew install mutagen-io/mutagen/mutagen mutagen-io/mutagen/mutagen-compose && mutagen daemon stop && mutagen daemon start
Next steps
To choose an installation mode, see Choose an installation mode.
If you’ve already selected an installation mode, follow one of the guides below:
Thank you!
For submitting the form