Installing Docker in your Linux System
Docker lets you manage applications inside of a container. A container is an application that lets you run your applications in a resource-isolated environment. Dockers are predictable, portable, and lightweight. Today we will talk about installing Docker on Linux machines. I am using Ubuntu 18.04, and while the process mostly remains the same, make sure to cross-check!
Letโs get started!
Pre-requisites
You are adding a few prerequisite packages, getting the GPG keys and then adding docker to the apt sources
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
Update Package database
sudo apt update
Installing Docker
apt-cache policy docker-cesudo apt install docker-ce
Testing if it has installed
sudo systemctl status docker
There you go! You are done! Now head back to whatever other tutorials you came here from!
๐บ Hey, hope you enjoyed reading that article. I am Abhinav, editor @ The Crypto Element. It takes a lot of work to research for and write such an article, and a clap or a follow ๐ from you means the entire world ๐ to me. It takes less than 10 seconds for you, and it helps me with reach! You can also ask me any questions, or point out anything, or just drop a โHeyโ ๐ down there. I ๐making new friends!