Difference between revisions of "Docker on Raspberry Pi"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
'''web gui to manage docker''' | '''web gui to manage docker''' | ||
sudo docker pull portainer/portainer-ce:latest | 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 |
Revision as of 15:00, 28 April 2022
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