Description:
Add repo
sudo apt-get install apt-transport-https ca-certificates software-properties-common -y
Install
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
Add user to docker group
sudo usermod -aG docker pi
add gpg
#Download gpg??
sudo curl https://download.docker.com/linux/raspbian/gpg
#Edit sources.list
vim /etc/apt/sources.list
#Add below repo to the last line
deb https://download.docker.com/linux/raspbian/ stretch stable
update and upgrade
sudo apt-get update
sudo apt-get upgrade
#Verify if docker setup
systemctl start docker.service
docker info