This video tutorial provides a comprehensive guide on installing Docker on your RHEL 9 system. Docker lets you package applications with their dependencies into portable containers, ensuring smooth operation across various environments. Whether you're a developer, system admin, or simply curious about containerization, this video is your one-stop shop!
Here's what you'll learn:
Benefits of using Docker
Prerequisites for installation
Adding the Docker repository
Installing Docker and related packages including optional version selection
Starting and enabling the Docker service
Granting user permissions for docker commands without sudo
Verifying Docker installation with a hello-world container
Timestamps:
00:17 : What is Docker and why we need it
01:14 : Remove podman & buidah
02:06 : Add Docker Repository
03:16 : Install Docker on RHEL 9
05:49 : Start & Enable Docker Service
06:44 : Add Local User to Docker Group
08:31 : Test Docker Installation
Steps to Install docker on RHEL 9
1. Remove Podman & Buidah [If installed]
sudo dnf remove -y podman buidah
2. Adding Docker Repository on RHEL 9
sudo dnf config-manager --add-repo https://download.docker.com/linux/rhe...
sudo dnf repolist
3. Install Docker
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo dnf list docker-ce --showduplicates | sort -r
sudo dnf install docker-ce-[version-string] docker-ce-cli-[version-string] containerd.io docker-buildx-plugin docker-compose-plugin -y
4. Start and Enable Docker Service
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl status docker
Add Local User to Docker Group
sudo usermod -aG docker $USER
newgrp docker
id
5. Test Docker Installation
docker run hello-world
#Docker #RHEL9 #LinuxTutorial #Containerization #TechTutorials #DevOps #SystemAdministration
If you have found this tutorial informative and useful, kindly do subscribe our channel and like the video.
Web Site : www.linuxtechi.com
YouTube Channel : / @linuxtechi9979
######################################
Thank you for Watching!!
######################################