Install Docker prerequisites on MacOS

Edit on GitHub

This 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

  1. Download and install Docker Desktop (Mac).

Signup for Docker Hub is not required.

  1. Accept the privilege escalation request “Docker Desktop needs privileged access.”.

  2. In the Docker Desktop, go to preferences by selecting the gear in the top right corner.

  3. In the General section of Preferences, click the Use Docker Compose V2 checkbox.

  4. Set recommended memory and swap limits:

    1. Go to Resources > ADVANCED.
    2. Set CPUs: to “4” or higher.
    3. Set Memory: to “16.00 GB” or higher.
    4. Set Swap: to “4.00 GB” or higher.
    5. Set the desired Disk image size:.
    6. Select the desired Disk image location.
    7. 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: