This is one of the easiest way to install docker and Portainer on a Raspberry Pi.

Update and upgrade your system.

1
    Sudo apt-get update && sudo apt-get upgrade

Install git

1
   Sudo apt install git

Install Docker

1
2
3
4
5
6
7
8
9
    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

Install Portainer

1
2
    1. cd Downloads/pi-hosted
    2. ./install_portainer.sh

Acknowledgments đź“š

Resources list that I find helpful and would like to give credit to.

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.



This article is publish in Dev