From: Edward Delaporte Date: Sat, 23 Oct 2021 15:48:25 +0000 (+0100) Subject: Docker pirate Raspberry Pi recipe. X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/196a79a87a19325fde380332b2fe3844276cf6aa?ds=sidebyside Docker pirate Raspberry Pi recipe. --- diff --git a/recipes/docker_pirate.md b/recipes/docker_pirate.md new file mode 100644 index 0000000..709ee44 --- /dev/null +++ b/recipes/docker_pirate.md @@ -0,0 +1,46 @@ +# Docker Pirate + +## On Building the Image + +A Raspberry Pi network connected Docker host. + ++ https://blog.hypriot.com/faq/ ++ https://github.com/hypriot/image-builder-rpi/releases + +See existing volumes. +``` +lsblk +``` + +Use the `dd` command from the tutorial. + +``` +sudo dd if=hypriotos-rpi-v1.12.3.img of=/dev/ bs=1M +``` + +## On Finding the Image + +No wireless support in the image. +Plug into the network directly. + +``` +sudo apt install nmap +hostname -I +nmap -sP .0/24 +``` + +## Updates + +Remember to change the default username and password. + +``` +sudo raspi-config +``` + +To update the hostname: + +```sh +ssh pirate@black-pearl.lan +sudo vi /boot/user-data +sudo reboot now +```