-
Notifications
You must be signed in to change notification settings - Fork 40
Setup Docker on Raspi
Helge Heß edited this page Sep 20, 2018
·
9 revisions
- On the Mac
- Download Hypriot Flash Tool
chmod +x flash
sudo mv flash /usr/local/bin/flash
- for 32-bit:
flash https://github.com/hypriot/image-builder-rpi/releases/download/v1.9.0/hypriotos-rpi-v1.9.0.img.zip
- for 64-bit:
flash https://github.com/DieterReuter/image-builder-rpi64/releases/download/v20180429-184538/hypriotos-rpi64-v20180429-184538.img.zip
- insert SD card, follow instructions
-
insert Hypriot SD card into RaspberryPi, connect to network, then power up and boot
-
on the Mac
- to connect:
ssh pirate@blackpearl.local
(default password ishypriot
)- if you have a private SSH key setup:
ssh-copy-id pirate@blackpearl.local
- if you have a private SSH key setup:
- on the Raspi:
docker info
change password
- Next you may want to setup your Mac to remote control the Raspi Docker
Finally, if you want to assign a different hostname, pre-install an SSH key, setup packages
or other more advanced stuff before flashing the image to the SD card, you can
use a user-data.yml
configuration file. Checkout the Cloud Init page on how to do this.
Brought to you by The Always Right Institute. We like feedback, GitHub stars, presumably any form of praise you can think of. We don't like people who are wrong.