Discover

Get Started

Developers

Industries

Install Docker

INNORIX operates as a Docker container-based platform.

This section describes how to configure the Docker runtime environment required for deploying INNORIX.

Before installing Docker, configure the Node.js environment, install the required Docker packages, and enable the Docker service.

Configure the NodeSource Repository

Configure the NodeSource Repository to install Node.js.

Run the appropriate command based on your operating system.

RHEL-based Linux

Install the curl package before configuring the NodeSource Repository.

bash
1
sudo dnf install -y curl

Add the NodeSource Repository.

bash
1
curl -fsSL https://rpm.nodesource.com/setup_22.x | sudo bash -

Debian-based Linux

Install the curl package.

bash
1
sudo apt install -y curl

Add the NodeSource Repository.

bash
1
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -

Install Node.js

After the NodeSource Repository has been configured, install Node.js.

INNORIX uses Node.js version 22.x.

RHEL-based Linux

bash
1
sudo dnf install -y nodejs

Debian-based Linux

bash
1
sudo apt install -y nodejs

Before installing Docker, remove any existing Docker or Container Runtime packages to prevent conflicts.

RHEL-based Linux

bash
1
sudo dnf remove -y podman buildah docker docker-common docker-selinux docker-engine

Debian-based Linux

bash
1
sudo apt remove -y docker docker-engine docker.io containerd runc

Configure the Docker Repository

Add the official Docker Repository to install the latest Docker Engine packages.

RHEL-based Linux

Install the dnf plugin required to add the Docker Repository.

bash
1
sudo dnf -y install dnf-plugins-core

Add the official Docker Repository.

bash
1
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

Debian-based Linux

Create the directory for storing the Docker Repository authentication key.

bash
1
sudo mkdir -p /etc/apt/keyrings

Add the Docker GPG key.

bash
1
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

Add the Docker Repository.

bash
1
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

Update System Packages

Update the system packages to the latest version before installing Docker.

RHEL-based Linux

bash
1
sudo dnf update

Debian-based Linux

bash
1
sudo apt update

Install Docker Engine and Components

Install the core components required to run Docker.

Installed components:

  • Docker Engine
  • Docker CLI
  • containerd
  • Docker Buildx Plugin
  • Docker Compose Plugin

RHEL-based Linux

bash
1
sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Debian-based Linux

bash
1
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin

Start and Enable the Docker Service

Start the Docker service and configure it to start automatically after a system reboot.

bash
1
sudo systemctl enable --now docker

Verify the Docker Installation

Verify that Docker has been installed successfully.

Check the Docker version.

bash
1
docker --version

Check the Docker Compose version.

bash
1
docker compose version

If the version information is displayed successfully, the Docker environment has been configured successfully.