Difference between revisions of "Docker on Raspberry Pi"

From rbachwiki
Jump to navigation Jump to search
(Created page with "[https://get.docker.com Script for installing docker]")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://get.docker.com Script for installing docker]
[https://get.docker.com Script for installing docker]
''' Open Terminal '''
curl -sSL https://get.docker.com | sh
''' piping it into sh will run the shell script '''
'''Add your non root user to the docker group'''
sudo usermod -aG docker bacchas
=== Install portainer ===
'''web gui to manage docker'''
sudo docker pull portainer/portainer-ce:latest
'''Setup docker to run on reboot '''
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
'''Log into portainer, setup admin user'''
http://192.168.1.1:9000
[[Home]]-[[Docker]]

Latest revision as of 15:55, 2 May 2022

Script for installing docker

Open Terminal

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

piping it into sh will run the shell script

Add your non root user to the docker group

sudo usermod -aG docker bacchas

Install portainer

web gui to manage docker

sudo docker pull portainer/portainer-ce:latest

Setup docker to run on reboot

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

Log into portainer, setup admin user

http://192.168.1.1:9000


Home-Docker