Installing Docker ubuntu 18.04

IrsyadSEC
2 min readJul 15, 2020

About

Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.

Installation

first think to download application is updating existing package.

apt update

then, install prerequisite package using over HTTPS

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

after that u must add the GPG key

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

next, we add docker repository , make sure you are using ubuntu

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"

then we must update package, because we newly added repository

apt update

and then you check for docker repository instead of ubuntu repository

the output may be different

last, installation

apt install docker-ce

if you have finished it, you can check for status

sudo systemctl status docker

WILL BE UPDATED LATER

Thank’s for your valuable time

--

--