Flashing a Raspberry Pi (setting up docker, backing it up and restoring)

Опубликовано: 15 Апрель 2026
на канале: Hacking Modern Life
908
23

How to install Raspberry Pi OS, make an image from a Raspberry PI, or how to install a Docker project on a Raspberry Pi. In order to do many of the other projects on this channels, you need to know how to setup a Raspberry Pi in the quickest and most efficient way. How to setup WiFi, or run a Docker container. You'll also learn how to setup Portainer on the Pi.

Chapters:
00:00 - Intro
00:46 - Raspberry Pi Imager
01:02 - Pi Disk Image
01:48 - Linux on the Pi
05:11 - Running a Docker Container
10:51 - Backing up a Raspberry Pi Disk Image
13:16 - Restoring a Raspberry Pi Image
13:28 - Outro

Quick terminal tricks:
To let ping run until the host is up:
until ping -c1 raspberrypi.local; do :; done

To reload groups/permissions:
exec sudo su -l $USER

Software:
Raspberry Pi OS: https://www.raspberrypi.com/software/
Docker: https://bit.ly/3BGLs1r

Hardware:
Raspberry Pi Zero W: https://bit.ly/3qEhrJb
MicroUSB OTG Cable: https://amzn.to/3BfHLyc