Setup Docker on Raspi

Helge Heß edited this page May 11, 2017 · 4 revisions
  1. on the Mac (replace XYZ wit the disk number)
  • Download Hypriot image: https://blog.hypriot.com/downloads/
  • unzip
  • insert an empty SD card into your Mac
  • diskutil list
  • diskutil unmountdisk /dev/diskXYZ
  • sudo dd if=~/Downloads/hypriotos-rpi-v1.4.0.img of=/dev/diskXYZ bs=1m
  • diskutil unmountdisk /dev/diskXYZ
  1. insert Hypriot SD card into RaspberryPi, connect to network, then power

  2. on the Mac

  • find zPi3 IP address
    • grab your IP (e.g. ipconfig getifaddr en0)
    • nmap -sP THE-IP-ADDRESS/24 | grep black-pearl
      • or on macOS: ping black-pearl.local
  • ssh-copy-id pirate@zpi3 (default password is hypriot)
  • ssh pirate@THE-IP-ADDRESS
    • docker info
    • change password
  1. Next you may want to setup your Mac to remote control the Raspi Docker
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.