Skip to content

Setup Docker on Raspi

Helge Heß edited this page Sep 20, 2018 · 9 revisions
  1. 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
  1. insert Hypriot SD card into RaspberryPi, connect to network, then power up and boot

  2. on the Mac

  • to connect: ssh pirate@blackpearl.local (default password is hypriot)
    • if you have a private SSH key setup: ssh-copy-id pirate@blackpearl.local
  • on the Raspi:
    • docker info
    • change password
  1. 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.

Clone this wiki locally