add stable docker repository ubuntu code example
Example 1: how to install docker on ubuntu
sudo apt install docker.io
Example 2: install docker linux
sudo apt-get install -y xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty
sudo apt install docker.io
sudo apt-get install -y xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty