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