Page 1 of 1

Installing Docker and Portainer

Posted: Thu Jan 25, 2024 2:06 am
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.