How to Install Docker on Ubuntu 22.04
Apr 16, 2024
In this video, We will show you how to install Docker on Ubuntu 22.04 LTS step by step. Docker is a PaaS (Platform as a Service) tool that uses OS level virtualization to create, deploy, and run applications in containers. System on which we install docker software and run containers is known as Docker Engine.
Docker Installation Steps:
Update system's package index. Open the terminal and type:
$ sudo apt update
Install docker dependencies
$ sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y
Add Docker's official GPG key
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
Add Docker apt repository
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list
Install Docker Engine
$ sudo apt update
$ sudo apt install docker-ce docker-ce-cli containerd.io -y
Show More Show Less #Software
