User Tools

Site Tools


docker-rhel9

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

  1. sudo yum update
  2. sudo yum remove docker \
     docker-client \
     docker-client-latest \
     docker-common \
     docker-latest \
     docker-latest-logrotate \
     docker-logrotate \
     docker-engine
  3. sudo yum install -y yum-utils device-mapper-persistent-data lvm2
  4. sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
  5. sudo yum install docker-ce
  6. sudo systemctl start docker
  7. sudo systemctl enable docker
  8. sudo docker --version
  9. sudo docker run hello-world
  10. 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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki