Instructions
-
Add repo
1sudo apt-get install apt-transport-https ca-certificates software-properties-common -y -
Install
1curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh -
Add user to docker group
1sudo usermod -aG docker pi -
add gpg
1 2 3 4 5 6 7#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
1 2 3 4 5 6sudo apt-get update sudo apt-get upgrade #Verify if docker setup systemctl start docker.service docker info