This is one of the easiest way to install docker and Portainer on a Raspberry Pi.
Sudo apt-get update && sudo apt-get upgrade
Sudo apt install git
1. Mkdir Downloads 2. cd Downloads 3. git clone https://github.com/novaspirit/pi-hosted 4. cd pi-hosted 5. ls 6. ./install_docker.sh #install docker 7. exit #logout 8. login 9. groups # to check if docker is in the group
1. cd Downloads/pi-hosted 2. ./install_portainer.sh
Thanks to Novaspirit tech, I can not only install docker with one script, but also setup my own home server and host plenty of apps. Follow his channel to see more tutorial.