Skip to content

Remote Control Raspi Docker

Helge Heß edited this page Sep 20, 2018 · 3 revisions
  1. First Setup Docker on Raspi

  2. on the Mac, patch Hypriot to work with docker-machine: 001-fix:

ssh pirate@THE-IP-ADDRESS \
  "curl -sSL https://github.com/DieterReuter/arm-docker-fixes/raw/master/001-fix-docker-machine-1.8.0-create-for-arm/apply-fix-001.sh | bash"`
  1. tweet a a success message to @Quintus23M

  2. on the Mac, connect to Raspi via docker-machine:

docker-machine create \
  --driver=generic --engine-storage-driver=overlay \
  --generic-ip-address=THE-IP-ADDRESS \
  --generic-ssh-user=pirate raspberry

docker-machine ls
  1. direct the Docker client to the RaspberryPi and run commands:
eval $(docker-machine env raspberry)
docker images
docker ps
docker run --rm helje5/rpi-swift swift --version
Clone this wiki locally