sudo wget -qO- <https://get.docker.com/> | sh code example
Example 1: intall docker ubuntu command
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
Example 2: install docker ubuntu
sudo apt install docker.io -y