ubuntu docker version code example
Example 1: install docker ubuntu
sudo apt install docker.io
Example 2: docker install ubuntu
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"