docker-rhel9
Table of Contents
Docker Installation on RHEL (Red Hat Enterprise Linux)
Installation
Copied from: https://www.linkedin.com/pulse/step-by-step-guide-installing-docker-rhel-9-locally-ujjawal-kumar
sudo yum update
sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce
sudo systemctl start docker
sudo systemctl enable docker
sudo docker --version
sudo docker run hello-world
sudo usermod -aG docker $(whoami)
Upgrade
sudo yum --disablerepo="*" --enablerepo="docker-ce-stable" update
docker-rhel9.txt · Last modified: 2024/02/06 09:18 by baumi