install docker in ubuntu 18.041 min read

Prabhin Prabharkaran Administrator
DevOps Engineer

He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!

follow me

how to install docker in ubuntu 18.04

Hi Techrunnr, subscribers, today we will show you how to install docker in ubuntu 18.04.
Docker is a computer program that performs operating-system-level virtualisation also known as containerization. It was first released in 2013 and is developed by Docker, Inc. Docker is used to run software packages called “containers”.

To know more about difference between container and virtual machine check here

Make your system upto date

sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common

Add The Docker Repository

Create a new file for the Docker repository at /etc/apt/sources.list.d/docker.list.

deb [arch=amd64] bionic stable

Add Docker’s GPG key

curl -fsSL | sudo apt-key add –

Again update your system after adding the repository

 sudo apt update

Install Docker CE

sudo apt install docker-ce

check Docker version

docker –version

Docker version 18.03.0-ce, build 0520e24

More about how to use docker check here.

© 2018, Techrunnr. All rights reserved.

Questions Answered
Articles Written
Overall Points

Related posts

Leave a Reply