Installing Docker on Rocky Linux 8.x

Step 1: Check if Podman is installed in the terminal or the local Rocky Linux machine

sudo dnf list installed podman

If Podman is installed, the list will display relevant information about podman.

Step 2: Uninstall Podman if it was found in the previous step

sudo dnf remove podman

Step 3: Install Docker

1.Update the system

sudo dnf update

2.Add the repository

sudo dnf install -y dnf-plugins-core

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

3.Install Docker CE

sudo dnf install docker-ce docker-ce-cli containerd.io

4.Start the Docker service and enable it to start on boot

sudo systemctl start docker

sudo systemctl enable docker

results matching ""

    No results matching ""