]> apps.delaporte.us Git - dotfiles.git/blob - doc/docker_pirate.md
Spacing tweak
[dotfiles.git] / doc / docker_pirate.md
1 # Docker Pirate
2
3 ## On Building the Image
4
5 A Raspberry Pi network connected Docker host.
6
7 + https://blog.hypriot.com/faq/
8 + https://github.com/hypriot/image-builder-rpi/releases
9
10 See existing volumes.
11 ```
12 lsblk
13 ```
14
15 Use the `dd` command from the tutorial.
16
17 ```
18 sudo dd if=hypriotos-rpi-v1.12.3.img of=/dev/<new thing that showed up> bs=1M
19 ```
20
21 ## On Finding the Image
22
23 No wireless support in the image.
24 Plug into the network directly.
25
26 ```
27 sudo apt install nmap
28 hostname -I
29 nmap -sP <ip from command above>.0/24
30 ```
31
32 ## Updates
33
34 Remember to change the default username and password.
35
36 ```
37 sudo raspi-config
38 ```
39
40 To update the hostname:
41
42 ```sh
43 ssh pirate@black-pearl.lan
44 sudo vi /boot/user-data
45 sudo reboot now
46 ```