Docker Install Prerequisites - Linux

This document describes install prerequisites for Linux.

Minimum System Requirements

Before proceeding, please review the minimum system requirements in the table:

System Requirement Additional Details
vCPU: 2 This is a minimum requirement. The value can be higher than 2. A lower value is not sufficient for running the application.
RAM: 4GB This is a minimum requirement. The value can be higher than 4GB. A lower value is not sufficient for installation purposes.

Swap: 2GB

This is a minimum requirement. The value can be higher than 2GB. A lower value is not sufficient for installation purposes.

  1. Download and install Docker for Linux.

    Signup for Docker Hub is not required.

  2. Enable BuildKit by creating or updating /etc/docker/daemon.json as follows:

    {
      ...
      "features" : {
        ...
        "buildkit" : true
      }
    }
  3. Restart Docker:
    /etc/init.d/docker restart
  4. Install Docker-compose:
    sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

See also:

Last review date: Aug 06, 2019