Install Prerequisites

Install Docker on your computer.

  • Install Docker Desktop on Windows
  • Install Docker Desktop on Mac

  • Install Docker on Linux and Raspberry Pi

    Docker has a script to install Docker on Debian, Ubuntu, and Raspberry Pi OS. Run this script using the following command.

     curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
    

    Docker installation notes

    On arm/v6 (Raspberry Pi Zero and BeagleBone), install Docker using:

    sudo apt update
    sudo apt install -y docker.io
    sudo usermod -aG docker $USER
    

    Review the Manage Docker as a non-root user document.

    1. Grant the current user Docker rights

      sudo usermod -aG docker $USER
      
    2. Reboot the system.