Installing Docker and Portainer

Raspberry Pi projects and help.
Post Reply
User avatar
l6vibq
Site Admin
Posts: 45
Joined: Sun Aug 01, 2021 2:42 am
Contact:

Installing Docker and Portainer

Post by l6vibq »

This is a great program to put on your Raspberry Pi to be able to run all sort of programs with very minimal resources.
sudo apt update

sudo apt upgrade

curl -sSL https://get.docker.com | sh

sudo usermod -aG docker pi

## change pi to whatever your user name is on your Pi

sudo docker pull portainer/portainer-ce:linux-arm

sudo docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:linux-arm
Open browser and navigate to your Raspberry Pi IP i.e. 192.168.15.102:9000

Log into Portainer by creating an Admin account

Select Docker and connect

Come back for more as I go through some of my favorite Docker Containers.
You never have to much fuel unless you are on fire!

Return to “Raspberry Pi”