How to Install Docker on Ubuntu 22.04
In this video, we'll be diving into the world of containerization as we explore the step-by-step process of installing Docker on Ubuntu 22.04. Docker is an incredible tool that simplifies the deployment of applications and makes it easier to manage dependencies.
Command
sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list /dev/null (Check greater than sign removed at the end add it)
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin