Install Docker Engine

This guide will walk you through the installation of Docker Engine on popular Linux platforms such as Ubuntu, Raspberry Pi OS, Debian, and Alpine Linux.

ollow the steps below to get Docker up and running on your system. If you are missing an OS or you would like to learn more about Docker, please visit the official Docker page.

https://docs.docker.com/engine/install/

Prerequisites

Before you begin, ensure that you have the following:

  • A 64-bit version of your Linux distribution.

  • Sudo privileges on the system.

Installation Steps

You can go directly to the section of your OS:

Ubuntu

  1. Update the Package Index:

    sudo apt-get update
  2. Install Required Packages:

    sudo apt-get install ca-certificates curl gnupg lsb-release
  3. Add Docker’s Official GPG Key:

    sudo mkdir -p /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
  4. Set Up the Docker Repository:

    echo \
      "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
      $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
  5. Install Docker Engine:

    sudo apt-get update
    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
  6. Verify the Installation:

    sudo docker run hello-world

Raspberry Pi OS

  1. Update the Package Index:

  2. Download and Run the Docker Installation Script:

  3. Add Your User to the Docker Group:

  4. Verify the Installation:

Debian

  1. Update the Package Index:

  2. Install Required Packages:

  3. Add Docker’s Official GPG Key:

  4. Set Up the Docker Repository:

  5. Install Docker Engine:

  6. Verify the Installation:

Alpine Linux

  1. Update the Package Index:

  2. Install Docker:

  3. Start the Docker Daemon:

  4. Add Your User to the Docker Group:

  5. Verify the Installation:

Post-Installation Steps

After installing Docker, you may want to configure Docker to start on boot:

To check the status of Docker:

Troubleshooting

If you encounter any issues, ensure that:

  • Your system meets the prerequisites.

  • You have followed each step correctly.

  • You have a stable internet connection during the installation process.

As soon as the docker engine is up and running, you can go back to "Add Device" and continue with insalling the Agent on the device.

Last updated