install docker on ubuntu 18.04

Shell
sudo apt install docker-ce
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt update
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"

Source

Also in Shell: