Installing Docker prerequisites on Linux

Edit on GitHub

This document describes the prerequisites for installing Spryker in Docker on Linux.

System requirements for installing Spryker with Docker

Review the system and software requirements in the table.

REQUIREMENT VALUE OR VERSION
Docker 18.09.1 or higher
Docker Compose 2.0 or higher
vCPU 2 or more
RAM 4GB or more
Swap 2GB or more

Installing and configuring required software

Follow the steps to install and configure the required software:

  1. Download and install Docker for Linux.

Signup for Docker Hub is not required.

  1. Enable BuildKit by creating or updating /etc/docker/daemon.json:
{
  ...
  "features" : {
    ...
    "buildkit" : true
  }
}
  1. Restart Docker:
/etc/init.d/docker restart
  1. Optional: Configure the docker group to manage Docker as a non-root user. See Manage Docker as a non-root user for configuration instructions.

  2. Install Docker-compose:

sudo curl -L "https://github.com/docker/compose/releases/download/2.16.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
  1. Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/docker-compose

You’ve installed and configured the required software.

Next steps

See Choosing an installation mode to choose an installation mode. If you’ve already selected an installation mode, follow one of the guides below: