Installing Docker Engine 26.1.3 on RHEL 8
Installing Docker Engine 26.1.3 on RHEL 8
RHEL 8.10
Install using the rpm repository
Set up the repository.
sudo dnf -y install dnf-plugins-core |
Install the Docker packages.
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin |
dnf list docker-ce --showduplicates | sort -r |
Start Docker Engine.
systemctl enable --now docker |
Verify that the installation is successfully.
docker run hello-world |
Install from a package
Download the following rpm files for the Docker Engine, CLI, containerd, and Docker Compose packages:
containerd.io-<version>.<arch>.rpm |
Install Docker Engine.
dnf install /soft/containerd.io-1.7.27-3.1.el8.x86_64.rpm \ |
Start Docker Engine.
systemctl enable --now docker |
Verify that the installation is successfully.
docker run hello-world |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.