1.
sudo apt update
2.
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
3.
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4.
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
5.
sudo apt update
6.
sudo apt install docker-ce