User Tools

Site Tools


docker-rhel9

This is an old revision of the document!


Docker on RHEL (Red Hat Enterprise Linux

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)
docker-rhel9.1698043153.txt.gz · Last modified: 2023/10/23 08:39 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki