This is one of the easiest way to install docker and Portainer on a Raspberry Pi.
Update and upgrade your system.
Sudo apt-get update && sudo apt-get upgrade
Install git
Sudo apt install git
Install Docker
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. cd Downloads/pi-hosted
2. ./install_portainer.sh
Reference:
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.
Top comments (0)