#installdockerusingcli #installdockeronubunt20.04 #installdockerubuntu
How to install docker on linux ubuntu 20.04 lts
Prerequisite
1. You have connection internet
Docker can install on ubuntu in 3 way
1. install using docker repository
2. install using convenience
3. install from ubuntu package
Check docker version on ubuntu repository and docker repository
1. if you install docker using docker repository you will install latest version docker(check latest version from docker website)
2. check docker version from ubuntu repository (apt-cache policy docker)
i prefer install docker using docker repository
Install docker from docker repository(if you have installed old version, uninstall them with this command sudo apt-get purge docker-ce docker-ce-cli containerd.io)
1. add docker repository = curl -fsSL https://download.docker.com/linux/ubu... | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
2. add gpg key = curl -fsSL https://download.docker.com/linux/ubu... | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
3. setup to stable 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 /dev/null
4. update repository = sudo apt-get update
5. install docker = sudo apt-get install docker-ce docker-ce-cli containerd.io
6. check if docker is installed on your machine = docker --version
Docker succesfull install on my machine, Failed to start Docker Application Container Engine this error message appear when docker try tu run docker container.
See you at the next tutorial!!!
Watch video how to install docker on ubuntu 20 04 online without registration, duration hours minute second in high quality. This video was added by user Programming Tutorial 19 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 78 once and liked it 0 people.