docker for 18.04 ubuntu code example
Example 1: install docker on ubuntu 18.04
sudo apt update
Example 2: install docker ubuntu
$ sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt update
$ sudo apt-get remove docker docker-engine docker.io containerd runc